summaryrefslogtreecommitdiff
path: root/boot
AgeCommit message (Collapse)Author
1996-02-14(init_termstate, restore_termstate, term_sgb, localbits):Miles Bader
Moved here from boot.c
1996-02-14[!UX] (orig_tty_state): New variable.Miles Bader
[!UX] (init_termstate, restore_termstate): New hurd versions of these funcs.
1996-02-14(O_RDONLY, O_WRONLY, O_RDWR): New macros.Miles Bader
1996-02-14(load_image, boot_script_read_file, main):Miles Bader
Use O_RDONLY, not 0 (kind of ironic, this...). (load_image): Give the filename with the error message (and a newline).
1996-02-14Move all the ux-specific grot into ux.c & ux.h.Miles Bader
If UX is defined, include "ux.h", else define hurdish stuff. (main): Use get_privileged_ports instead of task_by_pid. (load_image, boot_script_read_file, main, do_mach_notify_no_senders, do_mach_notify_dead_name): Use host_exit instead of uxexit. (boot_script_read_file): Use host_stat instead of uxstat. (init_termstate, S_tioctl_tiocseta): Use sg_flags field in struct sgttyb.
1996-02-14(all): Depend on `boot' and `uxboot'.Miles Bader
(COMMON-OBJS, UX-OBJS): New macros. (OBJS): Inherit most names from $(COMMON-OBJS). (LCLHDRS): Add ux.h. (LDFLAGS): Use target-specific value. (uxboot.0-LDFLAGS): New macro (with contents from old LDFLAGS). (uxboot.o, uxboot.0): New targets. (uxboot): Target renamed from boot.a.
1996-02-14Initial revisionMiles Bader
1995-12-11(should_read): New variable.Miles Bader
(read_reply): Set SHOULD_READ before attempting lock. Use spin_try_lock() instead of spin_lock(), and abort if we can't get it. Clear SHOULD_READ after getting the lock. (ds_device_read, ds_device_read_inband, S_io_read): Call unlock_readlock instead of directly unlocking READLOCK. Don't block SIGIO. (unlock_readlock): New function. (main): Don't trap SIGMSG & SIGEMSG. (SIGMSG, SIGEMSG): Macros deleted.
1995-12-05(main): Request no-senders notification on pseudo_master_device_port.Roland McGrath
Deallocate our send right to it when we no longer need it. (ds_device_read_inband): Unlock readlock properly. (do_mach_notify_no_senders): Exit only when both pseudo_console and pseudo_master_device_port have no senders.
1995-12-05*** empty log message ***Michael I. Bushnell
1995-11-30(readlock): New variable.Michael I. Bushnell
(read_reply): Check FIONREAD before dequeueing QR so that we don't abandon requests. Lock READLOCK around FIONREAD/read pair. (ds_device_read): Lock READLOCK around FIONREAD/read pair. (ds_device_read_inband): Likewise. (S_io_read): Likewise.
1995-11-22(request_server): Don't call exec_server.Roland McGrath
(S_exec_*): Functions removed. (boot_script_task_port): Variable removed. (boot_script_task_*, boot_script_port_*): Functions removed.
1995-11-14(OBJS): Remove execServer.o.Roland McGrath
1995-09-28(read_file): Pass CMD->path for file name.Roland McGrath
(CHECK_CMDLINE_LEN): Update ARGV pointers after reallocating the line buffer.
1995-09-27(struct uxstat): New type.Roland McGrath
(uxfstat): Renamed from fstat; use struct uxstat * for arg. (boot_script_read_file): Use those. Return the memory object port, not zero.
1995-09-27(fstat): New syscall function.Roland McGrath
1995-09-27(read_file): New function.Roland McGrath
(builtin_symbols): Add $(read-file) builtin.
1995-09-27(boot_script_read_file): Declare it.Roland McGrath
1995-09-27(close): New syscall function.Roland McGrath
(defpager): New variable. (main): Set it up. (boot_script_read_file): New function. (useropen_dir): New variable. (useropen): New function. (load_image): Call it instead of open. (main): Grok -D arg to set useropen_dir.
1995-09-23Restore entry SP before return.Roland McGrath
1995-09-23(main): Use static const for constant strings.Roland McGrath
On boot script error, write script line with error msg.
1995-09-23(boot_script_parse_line): Ignore line beginning with #.Roland McGrath
1995-09-23(S_io_pathconf): New function.Roland McGrath
1995-09-23(LDFLAGS): Add -static.Roland McGrath
1995-09-22(sigmask): New macro.Michael I. Bushnell
(__mig_dealloc_reply_port): Remove __ from call to mach_port_mod_refs. (main): Check for `d' in BOOTSTRAP_ARGS, not BOOT_ARGS. Don't declar MSG static.
1995-09-22(__data_start): New variable.Roland McGrath
1995-08-29(sigblock, sigsetmask): New functions.Michael I. Bushnell
(ds_device_read): Block SIGIO around critical section. (ds_device_read_inband): Likewise. (S_io_read): Likewise.
1995-08-28Updated by Shantanu Goel, to accept action keywords only inside $(...) andRoland McGrath
only variable values inside ${...}.
1995-08-28Updated for changes in boot_script.h protocol by Shantanu Goel.Roland McGrath
(main): Use boot_script_set_variable instead of various magic variables. Under -d, pause between parsing bootscript and executing it.
1995-08-23Initial revisionRoland McGrath
1995-08-23(SRCS): Add boot_script.c.Roland McGrath
(OBJS): Add boot_script.o. (LCLHDRS): New variable. (HURDLIBS): Variable removed. (boot): Depend on ../libthreads/libthreads.a.
1995-08-23(boot_like_kernel, boot_like_cmudef, boot_like_hurd): Variables removed.Roland McGrath
(main): Don't interpret switches. Instead of servers, take command line argument of boot script file name. Read the file and use boot_script functions to parse and execute its directives. (boot_script_*): New variables and functions for boot_script callbacks.
1995-07-31DISTFILES -> DIST_FILES.Michael I. Bushnell
1995-07-08(free_reply_ports, free_reply_ports_lock): New variables.Miles Bader
(__mig_get_reply_port, __mig_put_reply_port, __mig_dealloc_reply_port, mig_get_reply_port, mig_put_reply_port, mig_dealloc_reply_port): Provide better versions of these routines that won't leak reply ports.
1995-07-07(OBJS): Add mach-crt0.o.Miles Bader
(SRCS): Add mach-crt0.c. (LDFLAGS): Add -nostartfiles (as we now use mach-crt0.o).
1995-07-07(mach_init_routine): New variable, wanted by mach-crt0.o.Miles Bader
(__mig_get_reply_port, __mig_dealloc_reply_port, __mig_put_reply_port): New functions, to avoid using hurdish versions.
1995-07-07entered into RCSMiles Bader
1995-07-07Initial revisionMiles Bader
1995-07-07(boot.1, boot.a): Use $(LD) and $(OBJCOPY) instead of explicit names.Michael I. Bushnell
1995-07-07(S_io_reauthenticate): Cast first arg to mig_deallocate.Michael I. Bushnell
1995-07-07Include <mach/mig_support.h>.Michael I. Bushnell
(load_image): Cast second arg to read.
1995-07-07(bootdevice): Initialize to hard-coded `sd0a' instead ofMichael I. Bushnell
DEFAULT_BOOTDEVICE.
1995-07-07Undo last change; add private decl of ioctl.Michael I. Bushnell
1995-07-07Include <sys/ioctl.h>.Michael I. Bushnell
1995-07-07(all): Depend on boot.a too.Michael I. Bushnell
1995-07-06Removed dependencies that are now automatically generated.Michael I. Bushnell
1995-05-31(DISTFILES): New variable; include frank1.ld and frankemul.ld.Roland McGrath
(CPPFLAGS): Variable removed. (LDFLAGS): Append -T frank1.ld. (boot.1, boot.a): New targets.
1995-05-31Omit .globl decl for errno; it caused some as complaint.Roland McGrath
1995-05-22Remove copyright notice.Michael I. Bushnell
1995-05-17(load_image): Make sure we actually allocate enough memory to read into,Miles Bader
including the offset into the buffer at which the segment is read.