commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/boot boot_script.c boot_script.h


From: Roland McGrath
Subject: hurd/boot boot_script.c boot_script.h
Date: Thu, 16 Aug 2001 21:47:44 -0700

CVSROOT:        /cvs
Module name:    hurd
Changes by:     Roland McGrath <address@hidden> 01/08/16 21:47:44

Modified files:
        boot           : boot_script.c boot_script.h 

Log message:
        2001-08-16  Roland McGrath  <address@hidden>
        
        * 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.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/boot/boot_script.c.diff?cvsroot=OldCVS&tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/boot/boot_script.h.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]