summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/exec_startup.defs6
-rw-r--r--hurd/hurd_types.defs12
-rw-r--r--hurd/hurd_types.h1
3 files changed, 18 insertions, 1 deletions
diff --git a/hurd/exec_startup.defs b/hurd/exec_startup.defs
index 9dfb79aa..697f6b22 100644
--- a/hurd/exec_startup.defs
+++ b/hurd/exec_startup.defs
@@ -23,11 +23,15 @@ subsystem exec_startup 30500;
#include <hurd/hurd_types.defs>
+#ifdef EXEC_STARTUP_IMPORTS
+EXEC_STARTUP_IMPORTS
+#endif
+
/* This call is made by a new task to its bootstrap port to get its
startup ports and information. */
routine exec_startup_get_info (
- bootstrap: mach_port_t;
+ bootstrap: exec_startup_t;
/* These describe the entry point and program header data
of the user program loaded into the task. */
out user_entry: vm_address_t;
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index 4b325043..6060fa47 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -156,6 +156,18 @@ destructor: FS_NOTIFY_DESTRUCTOR
#endif
;
+type exec_startup_t = mach_port_copy_send_t
+#ifdef EXEC_STARTUP_INTRAN
+intran: EXEC_STARTUP_INTRAN
+#endif
+#ifdef EXEC_STARTUP_OUTTRAN
+outtran: EXEC_STARTUP_OUTTRAN
+#endif
+#ifdef EXEC_STARTUP_DESTRUCTOR
+destructor: EXEC_STARTUP_DESTRUCTOR
+#endif
+;
+
type proccoll_t = mach_port_copy_send_t;
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index 7d1bb732..d569454a 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -46,6 +46,7 @@ typedef mach_port_t pf_t; /* Protocol family */
typedef mach_port_t addr_port_t;
typedef mach_port_t startup_t;
typedef mach_port_t fs_notify_t;
+typedef mach_port_t exec_startup_t;
typedef mach_port_t proccoll_t;
#include <errno.h> /* Defines `error_t'. */