diff options
Diffstat (limited to 'boot/boot_script.h')
-rw-r--r-- | boot/boot_script.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boot/boot_script.h b/boot/boot_script.h index 5695328e..c436ac21 100644 --- a/boot/boot_script.h +++ b/boot/boot_script.h @@ -21,6 +21,7 @@ #define VAL_NONE 0 /* none -- function runs at exec time */ #define VAL_STR 1 /* string */ #define VAL_PORT 2 /* port */ +#define VAL_TASK 3 /* task port */ /* This structure describes a command. */ struct cmd @@ -77,7 +78,8 @@ mach_port_t boot_script_read_file (const char *file); int boot_script_task_create (struct cmd *); /* task_create + task_suspend */ int boot_script_task_resume (struct cmd *); int boot_script_prompt_task_resume (struct cmd *); -int boot_script_insert_right (struct cmd *, mach_port_t); /* same name */ +int boot_script_insert_right (struct cmd *, mach_port_t, mach_port_t *namep); +int boot_script_insert_task_port (struct cmd *, task_t, mach_port_t *namep); /* The user must define this function to clean up the `task_t' returned by boot_script_task_create. */ |