aboutsummaryrefslogtreecommitdiff
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Michael I. Bushnell1996-07-182-0/+201
|
* Initial revisionRoland McGrath1996-07-171-0/+581
|
* (S_io_reauthenticate): Don't use unsafe MOVE_SEND inMichael I. Bushnell1996-07-081-1/+2
| | | | auth_server_authenticate.
* (S_io_identity): Typo.Miles Bader1996-05-101-1/+1
|
* (S_io_identity): New function.Michael I. Bushnell1996-05-101-0/+13
|
* (S_io_select): No longer has TAG parm.Michael I. Bushnell1996-05-091-3/+1
| | | | (S_io_reauthenticate): Use new interface.
* (printf): Add %d.Miles Bader1996-04-291-1/+33
|
* (main): Use select instead of SIGIO.Miles Bader1996-04-291-8/+12
|
* (uxboot): Permit errors because people might not have the a.out-mach3Michael I. Bushnell1996-04-151-1/+1
| | | | target installed, and that's OK for many users.
* (uxboot.0): Find frank1.ld in #(srcdir).Michael I. Bushnell1996-04-151-1/+1
|
* Add decl of safe_gets.Michael I. Bushnell1996-04-151-35/+29
|
* Include <stdio.h>.Michael I. Bushnell1996-04-151-181/+148
|
* (COMMON-OBJS): Remove tcattr.o.Miles Bader1996-03-271-2/+2
| | | | (SRCS): Remove tcattr.c.
* [notanymore]Miles Bader1996-03-271-122/+0
| | | | | | (S_tioctl_tiocgeta, S_tioctl_tiocseta, S_tioctl_tiocsetaf, term_modes, term_ccs, term_speeds): Functions & variables removed.
* (boot): Depend on libthreads.so, nothing wrong with shared libs.Roland McGrath1996-03-141-10/+7
| | | | | | (uxboot.0, uxboot.1): Use automatic vars in cmds instead of gratuitous redundancy. (LDFLAGS-uxboot.0): Remove useless indirection through variable.
* (init_termstate, restore_termstate, term_sgb, localbits):Miles Bader1996-02-141-0/+28
| | | | Moved here from boot.c
* [!UX] (orig_tty_state): New variable.Miles Bader1996-02-141-37/+36
| | | | [!UX] (init_termstate, restore_termstate): New hurd versions of these funcs.
* (O_RDONLY, O_WRONLY, O_RDWR): New macros.Miles Bader1996-02-141-0/+6
|
* (load_image, boot_script_read_file, main):Miles Bader1996-02-141-6/+6
| | | | | | Use O_RDONLY, not 0 (kind of ironic, this...). (load_image): Give the filename with the error message (and a newline).
* Move all the ux-specific grot into ux.c & ux.h.Miles Bader1996-02-141-258/+39
| | | | | | | | | 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.
* (all): Depend on `boot' and `uxboot'.Miles Bader1996-02-141-13/+20
| | | | | | | | | | (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.
* Initial revisionMiles Bader1996-02-142-0/+351
|
* (should_read): New variable.Miles Bader1995-12-111-28/+36
| | | | | | | | | | | | | (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.
* (main): Request no-senders notification on pseudo_master_device_port.Roland McGrath1995-12-051-5/+28
| | | | | | | 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.
* *** empty log message ***Michael I. Bushnell1995-12-051-0/+2
|
* (readlock): New variable.Michael I. Bushnell1995-11-301-4/+20
| | | | | | | | (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.
* (request_server): Don't call exec_server.Roland McGrath1995-11-221-226/+49
| | | | | | (S_exec_*): Functions removed. (boot_script_task_port): Variable removed. (boot_script_task_*, boot_script_port_*): Functions removed.
* (OBJS): Remove execServer.o.Roland McGrath1995-11-141-4/+4
|
* (read_file): Pass CMD->path for file name.Roland McGrath1995-09-281-2/+4
| | | | | (CHECK_CMDLINE_LEN): Update ARGV pointers after reallocating the line buffer.
* (struct uxstat): New type.Roland McGrath1995-09-271-5/+25
| | | | | | (uxfstat): Renamed from fstat; use struct uxstat * for arg. (boot_script_read_file): Use those. Return the memory object port, not zero.
* (fstat): New syscall function.Roland McGrath1995-09-271-0/+6
|
* (read_file): New function.Roland McGrath1995-09-271-1/+11
| | | | (builtin_symbols): Add $(read-file) builtin.
* (boot_script_read_file): Declare it.Roland McGrath1995-09-271-0/+4
|
* (close): New syscall function.Roland McGrath1995-09-271-5/+89
| | | | | | | | | | (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.
* Restore entry SP before return.Roland McGrath1995-09-231-0/+1
|
* (main): Use static const for constant strings.Roland McGrath1995-09-231-4/+7
| | | | On boot script error, write script line with error msg.
* (boot_script_parse_line): Ignore line beginning with #.Roland McGrath1995-09-231-0/+3
|
* (S_io_pathconf): New function.Roland McGrath1995-09-231-0/+9
|
* (LDFLAGS): Add -static.Roland McGrath1995-09-231-1/+1
|
* (sigmask): New macro.Michael I. Bushnell1995-09-221-4/+7
| | | | | | (__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.
* (__data_start): New variable.Roland McGrath1995-09-221-0/+1
|
* (sigblock, sigsetmask): New functions.Michael I. Bushnell1995-08-291-0/+27
| | | | | | (ds_device_read): Block SIGIO around critical section. (ds_device_read_inband): Likewise. (S_io_read): Likewise.
* Updated by Shantanu Goel, to accept action keywords only inside $(...) andRoland McGrath1995-08-282-140/+118
| | | | only variable values inside ${...}.
* Updated for changes in boot_script.h protocol by Shantanu Goel.Roland McGrath1995-08-281-18/+26
| | | | | (main): Use boot_script_set_variable instead of various magic variables. Under -d, pause between parsing bootscript and executing it.
* Initial revisionRoland McGrath1995-08-232-0/+952
|
* (SRCS): Add boot_script.c.Roland McGrath1995-08-231-3/+5
| | | | | | | (OBJS): Add boot_script.o. (LCLHDRS): New variable. (HURDLIBS): Variable removed. (boot): Depend on ../libthreads/libthreads.a.
* (boot_like_kernel, boot_like_cmudef, boot_like_hurd): Variables removed.Roland McGrath1995-08-231-101/+214
| | | | | | | (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.
* DISTFILES -> DIST_FILES.Michael I. Bushnell1995-07-311-1/+1
|
* (free_reply_ports, free_reply_ports_lock): New variables.Miles Bader1995-07-081-6/+46
| | | | | | (__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.
* (OBJS): Add mach-crt0.o.Miles Bader1995-07-071-4/+4
| | | | | (SRCS): Add mach-crt0.c. (LDFLAGS): Add -nostartfiles (as we now use mach-crt0.o).