[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/boot boot.c
From: |
Roland McGrath |
Subject: |
hurd/boot boot.c |
Date: |
Thu, 16 Aug 2001 21:47:55 -0700 |
CVSROOT: /cvs
Module name: hurd
Changes by: Roland McGrath <address@hidden> 01/08/16 21:47:55
Modified files:
boot : boot.c
Log message:
2001-08-16 Roland McGrath <address@hidden>
* 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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/boot/boot.c.diff?cvsroot=OldCVS&tr1=1.99&tr2=1.100&r1=text&r2=text
- hurd/boot boot.c,
Roland McGrath <=