aboutsummaryrefslogtreecommitdiff
path: root/kern/boot_script.h
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2022-12-06 23:57:08 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-07 23:26:32 +0100
commit688a82ff324403dd2b439755a3d95773e691be69 (patch)
tree8c3da6bc01286b8191bc5709ea4b6911864d0dc6 /kern/boot_script.h
parenta2104ef630ca2f2eb264fd39b1adcc891c1ce6c7 (diff)
downloadgnumach-688a82ff324403dd2b439755a3d95773e691be69.tar.gz
gnumach-688a82ff324403dd2b439755a3d95773e691be69.tar.bz2
gnumach-688a82ff324403dd2b439755a3d95773e691be69.zip
Update kern/ directory to use mach_port_name_t.
Make it clear where exactly we use port names vs port addresses. Message-Id: <Y5AdJGuzXBMO7YRK@reue>
Diffstat (limited to 'kern/boot_script.h')
-rw-r--r--kern/boot_script.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/boot_script.h b/kern/boot_script.h
index c007d777..d1f968d6 100644
--- a/kern/boot_script.h
+++ b/kern/boot_script.h
@@ -74,8 +74,8 @@ int boot_script_exec_cmd (void *hook,
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, mach_port_t *namep);
-int boot_script_insert_task_port (struct cmd *, task_t, mach_port_t *namep);
+int boot_script_insert_right (struct cmd *, mach_port_t, mach_port_name_t *namep);
+int boot_script_insert_task_port (struct cmd *, task_t, mach_port_name_t *namep);
/* The user must define this function to clean up the `task_t'
returned by boot_script_task_create. */