From e0720d1cc5020e062f8ae599c1d4789e53bd0fa3 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 7 Jul 1995 22:53:16 +0000 Subject: (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. --- boot/boot.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 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) { -- cgit v1.2.3