diff options
author | Miles Bader <miles@gnu.org> | 1995-07-07 22:53:16 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-07-07 22:53:16 +0000 |
commit | e0720d1cc5020e062f8ae599c1d4789e53bd0fa3 (patch) | |
tree | 08c323c9de4c328cd6ab0d958cd27644e9b733b6 | |
parent | ee5d769c9dbd07b1c58d8c4178f10354bc62ade6 (diff) |
(mach_init_routine): New variable, wanted by mach-crt0.o.
(__mig_get_reply_port, __mig_dealloc_reply_port, __mig_put_reply_port):
New functions, to avoid using hurdish versions.
-rw-r--r-- | boot/boot.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/boot/boot.c b/boot/boot.c index 92d8a027..44b0dcaa 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -79,6 +79,9 @@ char *fsname; char *bootstrap_args; char *bootdevice = "sd0a"; +extern void __mach_init (); +void (*mach_init_routine)() = __mach_init; + /* We can't include <unistd.h> for this, because that will fight witho our definitions of syscalls below. */ int syscall (int, ...); @@ -87,6 +90,21 @@ void set_mach_stack_args (); /* These will prevent the Hurd-ish versions from being used */ +mach_port_t __mig_get_reply_port () +{ + return __mach_reply_port (); +} +mach_port_t mig_get_reply_port () +{ + return __mach_reply_port (); +} +void __mig_init (void *stack) {} +void mig_init (void *stack) {} +void __mig_dealloc_reply_port (mach_port_t port) {} +void mig_dealloc_reply_port (mach_port_t port) {} +void __mig_put_reply_port (mach_port_t port) {} +void mig_put_reply_port (mach_port_t port) {} + int task_by_pid (int pid) { |