aboutsummaryrefslogtreecommitdiff
path: root/boot/boot.c
Commit message (Collapse)AuthorAgeFilesLines
* (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
|
* (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.
* (main): Use static const for constant strings.Roland McGrath1995-09-231-4/+7
| | | | On boot script error, write script line with error msg.
* (S_io_pathconf): New function.Roland McGrath1995-09-231-0/+9
|
* (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.
* (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 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.
* (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.
* (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.
* (mach_init_routine): New variable, wanted by mach-crt0.o.Miles Bader1995-07-071-0/+18
| | | | | (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_put_reply_port): New functions, to avoid using hurdish versions.
* (S_io_reauthenticate): Cast first arg to mig_deallocate.Michael I. Bushnell1995-07-071-4/+4
|
* Include <mach/mig_support.h>.Michael I. Bushnell1995-07-071-1/+2
| | | | (load_image): Cast second arg to read.
* (bootdevice): Initialize to hard-coded `sd0a' instead ofMichael I. Bushnell1995-07-071-1/+1
| | | | DEFAULT_BOOTDEVICE.
* (load_image): Make sure we actually allocate enough memory to read into,Miles Bader1995-05-171-2/+7
| | | | including the offset into the buffer at which the segment is read.
* (load_image): Fixed alignment calculation in ELF segment loading.Roland McGrath1995-05-131-3/+5
|
* (load_image): Grok ELF executables as well as a.out.Roland McGrath1995-05-121-70/+116
| | | | | (main): Load multiple servers. Suspend all but the first. The first gets an extra arg, its name for the task port of the second.
* Don't include <errno.h>. Define `errno' variable.Roland McGrath1995-04-051-2/+4
|
* (S_io_select): Fix typo in last change.Roland McGrath1995-01-191-3/+3
|
* (S_io_select): Updated to new io_select protocol.Roland McGrath1995-01-191-10/+6
|
* Use mach_msg_type_number_t in place of unsigned int and int.Roland McGrath1994-12-091-6/+6
|
* (main): Always set `f' flag (signifying "fake" because we aren't aMichael I. Bushnell1994-11-111-0/+6
| | | | real native bootstrap).
* entered into RCSRoland McGrath1994-10-291-5/+13
|
* Formerly boot.c.~40~Roland McGrath1994-10-281-2/+3
|
* Formerly boot.c.~39~Michael I. Bushnell1994-10-281-12/+21
|
* Formerly boot.c.~38~Michael I. Bushnell1994-10-281-26/+333
|
* Formerly boot.c.~37~Michael I. Bushnell1994-08-301-2/+2
|
* Formerly boot.c.~36~Michael I. Bushnell1994-08-221-4/+27
|
* Formerly boot.c.~35~Michael I. Bushnell1994-08-181-10/+68
|
* Formerly boot.c.~34~Michael I. Bushnell1994-07-221-7/+7
|
* Formerly boot.c.~33~Michael I. Bushnell1994-07-211-2/+2
|
* Formerly boot.c.~32~Michael I. Bushnell1994-07-201-4/+5
|
* Formerly boot.c.~31~Roland McGrath1994-07-021-3/+27
|
* Formerly boot.c.~30~Michael I. Bushnell1994-07-011-1/+11
|
* Formerly boot.c.~29~Michael I. Bushnell1994-06-241-3/+3
|
* Formerly boot.c.~28~Michael I. Bushnell1994-06-171-4/+4
|
* Formerly boot.c.~27~Roland McGrath1994-06-141-6/+6
|
* Formerly boot.c.~26~Roland McGrath1994-06-081-1/+32
|
* Formerly boot.c.~25~Roland McGrath1994-06-071-3/+3
|
* Formerly boot.c.~24~Roland McGrath1994-06-071-2/+29
|
* Formerly boot.c.~23~Roland McGrath1994-06-041-9/+4
|
* Formerly boot.c.~22~Roland McGrath1994-06-041-27/+121
|
* Formerly boot.c.~21~Michael I. Bushnell1994-05-171-1/+1
|
* Formerly boot.c.~20~Michael I. Bushnell1994-05-161-3/+11
|
* Formerly boot.c.~19~Michael I. Bushnell1994-05-101-1/+127
|
* Formerly boot.c.~18~Michael I. Bushnell1994-05-061-3/+3
|
* Formerly boot.c.~17~Michael I. Bushnell1994-05-051-13/+48
|
* Formerly boot.c.~16~Michael I. Bushnell1994-05-051-51/+122
|
* Formerly boot.c.~15~Michael I. Bushnell1994-05-021-1/+4
|
* Formerly boot.c.~14~Michael I. Bushnell1994-04-211-12/+218
|