aboutsummaryrefslogtreecommitdiff
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
* (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).
* (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.
* entered into RCSMiles Bader1995-07-071-10/+6
|
* Initial revisionMiles Bader1995-07-071-0/+161
|
* (boot.1, boot.a): Use $(LD) and $(OBJCOPY) instead of explicit names.Michael I. Bushnell1995-07-071-2/+2
|
* (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.
* Undo last change; add private decl of ioctl.Michael I. Bushnell1995-07-071-1/+1
|
* Include <sys/ioctl.h>.Michael I. Bushnell1995-07-071-1/+2
|
* (all): Depend on boot.a too.Michael I. Bushnell1995-07-071-0/+2
|
* Removed dependencies that are now automatically generated.Michael I. Bushnell1995-07-061-3/+0
|
* (DISTFILES): New variable; include frank1.ld and frankemul.ld.Roland McGrath1995-05-311-1/+8
| | | | | | (CPPFLAGS): Variable removed. (LDFLAGS): Append -T frank1.ld. (boot.1, boot.a): New targets.
* Omit .globl decl for errno; it caused some as complaint.Roland McGrath1995-05-311-1/+1
|
* Remove copyright notice.Michael I. Bushnell1995-05-221-19/+0
|
* (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.
* Remove the explicit underscore prefixes from these names, now that we'reMiles Bader1995-05-171-10/+33
| | | | | | using elf. Instead we use the various macros from <i386/asm.h>. Return errors correctly. Add a copyright notice.
* (load_image): Fixed alignment calculation in ELF segment loading.Roland McGrath1995-05-131-3/+5
|
* Include i386/asm.h and use ENTRY and EXT macros, instead of explicit _s.Roland McGrath1995-05-131-5/+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 try and install boot.Miles Bader1995-04-121-4/+4
|
* Don't include <errno.h>. Define `errno' variable.Roland McGrath1995-04-051-2/+4
|
* (SRCS): Add syscall.S.Roland McGrath1995-04-051-3/+3
| | | | (OBJS): Add syscall.o.
* Check for errors.Roland McGrath1995-04-051-6/+8
|
* (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
|