aboutsummaryrefslogtreecommitdiff
path: root/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-171-0/+82
| | | | | | | | | | | | | | | | | | | | * boot_script.h (struct cmd): Change `task' member type to `task_t'. (boot_script_task_create, boot_script_task_resume, boot_script_prompt_task_resume, boot_script_free_task): Declare new functions that callers must define. * userland-boot.c: Define those. * boot_script.c (create_task, resume_task, prompt_resume_task): Use those instead of direct Mach calls. (free_cmd): Likewise. (read_file): Function removed. (builtin_symbols): Remove the "read-file" element. * boot_script.h (boot_script_malloc, boot_script_free): Declare new functions that callers must define. * boot_script.c: All uses of malloc/free changed to use those instead. * userland-boot.c: New file. Defines them using malloc/free. * Makefile (SRCS, OBJS): Add it. * boot.c (boot_script_malloc, boot_script_free): Old cruft functions removed.
* 2001-08-16 Roland McGrath <roland@frob.com>Roland McGrath2001-08-172-76/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * boot_script.h (struct cmd): Change `task' member type to `task_t'. (boot_script_task_create, boot_script_task_resume, boot_script_prompt_task_resume, boot_script_free_task): Declare new functions that callers must define. * userland-boot.c: Define those. * boot_script.c (create_task, resume_task, prompt_resume_task): Use those instead of direct Mach calls. (free_cmd): Likewise. (read_file): Function removed. (builtin_symbols): Remove the "read-file" element. * boot_script.h (boot_script_malloc, boot_script_free): Declare new functions that callers must define. * boot_script.c: All uses of malloc/free changed to use those instead. * userland-boot.c: New file. Defines them using malloc/free. * Makefile (SRCS, OBJS): Add it. * boot.c (boot_script_malloc, boot_script_free): Old cruft functions removed. * boot_script.c (boot_script_parse_line): Take new first argument HOOK. Store it in CMD->hook. (main): Update caller. (boot_script_exec): Pass CMD->hook as 1st arg to boot_script_exec_cmd. (boot_script_exec_cmd): Take new first argument HOOK. * boot.c (boot_script_exec_cmd): Likewise. * boot_script.h (struct cmd): New member `void *hook'. Update decls for HOOK arguments added.
* .Roland McGrath2001-02-261-2/+7
|
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-2/+2
| | | | | * Makefile (ourdevice.defs): Loosen up regexp since some whitespace in the file changed.
* 2000-12-21 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-01-072-5/+44
| | | | | | | | | | | | | * boot.c (main): If malloc or realloc fails, print diagnostic message and exit. (queue_read): Change return type from void to kern_return_t. If malloc fails, return D_NO_MEMORY, otherwise D_SUCCESS (to simplify code flow, malloc before acquiring the queuelock). (ds_device_read): New variable err (local to the block in which it is used). If queue_read fails, pass through error. (ds_device_read_inband): Likewise. (S_io_read): Likewise. Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
* .Roland McGrath2000-03-171-0/+5
|
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-3/+5
| | | | | * boot.c (S_io_reauthenticate): Check mach_port_insert_right result with assert_perror.
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-172-1/+11
| | | | | * boot.c (S_io_reauthenticate): Don't use MACH_MSG_TYPE_MAKE_SEND in Hurd RPC.
* .Roland McGrath2000-03-031-0/+4
|
* 2000-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-031-2/+3
| | | | * boot.c (ds_device_get_status): Accept *STATUSLEN greater than needed.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-132-13/+4
|
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-082-0/+17
| | | | * boot.c (S_io_map_segment): New function.
* .Roland McGrath1999-07-111-2/+6
|
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-6/+4
| | | | * boot.c (ds_device_read, S_io_read): Fix sloppy bugs in last change.
* 1999-07-06 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-112-11/+22
| | | | | | | | | * boot.c (load_image): Use mmap instead of vm_allocate, when allocating in mach_task_self (). (boot_script_exec_cmd): Likewise. (set_mach_stack_args): Likewise. (read_reply): Likewise. (S_io_read): Likewise.
* .Roland McGrath1999-07-111-1/+5
|
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+1
| | | | * boot.c: Add #include <sys/mman.h> for munmap decl.
* Mon Jul 5 20:04:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-062-1/+6
| | | | | * boot.c (load_image): Fix typo in cast. Reported by Yamashita TAKAO <jargon@lares.dti.ne.jp>.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-032-10/+17
| | | | | | | | | * boot.c (load_image): Use munmap instead of vm_deallocate when it's from our own task. (boot_script_read_file): Likewise. (boot_script_exec_cmd): Likewise. (set_mach_stack_args): Likewise. (ds_device_read_inband): Likewise.
* .Roland McGrath1999-03-201-0/+4
|
* 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-201-0/+7
| | | | * boot.c (S_term_get_peername): New function.
* .Roland McGrath1999-03-151-0/+4
|
* 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-151-2/+2
| | | | * boot.c: Fix typo in last change.
* .Roland McGrath1999-03-101-0/+5
|
* 1999-03-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-101-1/+3
| | | | | * boot.c (main): Only use real device name if root_store is for an enforced single run starting at the beginning of the device.
* .Roland McGrath1999-03-091-0/+5
|
* 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-091-1/+1
| | | | | * boot.c (main): Add newline to error msg. Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
* .Roland McGrath1999-02-171-0/+4
|
* 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-171-1/+2
| | | | * boot.c (S_io_revoke): Add reply, replyPoly args.
* Tue Feb 16 05:06:12 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-162-1/+11
| | | | * boot.c (S_io_revoke): New (unsupported) routine.
* .Roland McGrath1998-12-271-0/+8
|
* 1998-12-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-1/+13
| | | | | | | | * boot.c (isig): New variable. (init_termstate): If it's set, set ISIG flag in c_lflag. (options): New option -I/--isig. (parse_opt): Make -I set `isig'. (boot_script_exec_cmd): Print out args as well as file name.
* .Roland McGrath1998-09-041-5/+9
|
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-041-8/+4
| | | | | * boot_script.c: Include <string.h> instead of declaring memset here. Include <stdlib.h> instead of declaring malloc, free here.
* Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-07-092-1/+6
| | | | | * boot.c: Include <fcntl.h> instead of <fcntlbits.h>. Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
* (prompt_resume_task):Miles Bader1997-07-081-2/+2
| | | | Pass more than a single character buffer to safe_gets.
* .Miles Bader1997-07-081-0/+5
|
* .Miles Bader1997-06-211-0/+17
|
* (HURDLIBS):Miles Bader1997-06-211-2/+2
| | | | Include libstore & libshouldbeinlibc.
* (parse_opt):Miles Bader1997-06-211-111/+227
| | | | | | | | | | | | | | | | | | | | New function. (pseudo_root, root_store): New variables. (bootscript_args): Now an array. (ds_device_open, ds_device_close, ds_device_write, ds_device_write_inband, ds_device_read, ds_device_read_inband, ds_device_get_status, ds_device_set_status, ds_device_map, ds_xxx_device_set_filter, ds_xxx_device_get_status, ds_xxx_device_set_status, ds_device_set_filter): Handle "pseudo-root" device. (main): Use argp to parse args, and implement the pseudo-root device. Include <argp.h> & <hurd/store.h> (options, doc, args_doc): New variables. (bootscript): Made global.
* Mon Mar 17 13:12:45 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-04-142-2/+13
| | | | | * boot_script.c (boot_script_parse_line): Don't print gratuitous output noise.
* Thu Apr 10 11:53:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-04-102-12/+11
| | | | | * boot.c: Don't include varargs.h. (set_mach_stack_args): Use stdarg instead of vararg.
* *** empty log message ***Thomas Bushnell1996-09-172-1/+6
|
* .Miles Bader1996-08-131-0/+5
|
* (device.defs): Rule removed.Miles Bader1996-08-131-4/+1
| | | | (ourdevice.defs): Fix rule to work with Makeconf-generated device.defs.
* *** empty log message ***Thomas Bushnell1996-08-132-1/+9
|
* *** empty log message ***Thomas Bushnell1996-08-122-2/+9
|
* *** empty log message ***Thomas Bushnell1996-08-013-2/+7
|
* *** empty log message ***Michael I. Bushnell1996-07-182-0/+201
|
* Initial revisionRoland McGrath1996-07-171-0/+581
|