summaryrefslogtreecommitdiff
path: root/boot-proxy-exc/bootstrap_S.h
diff options
context:
space:
mode:
authorroot <root@(null).(none)>2009-05-03 17:20:00 +0200
committerroot <root@(null).(none)>2009-05-03 17:20:00 +0200
commite0faf22f31c48fb27b43c1825897d26e58feafc4 (patch)
tree65a09372b31e08a3a865bd0a88cd2718bafcd643 /boot-proxy-exc/bootstrap_S.h
This is my initial working version.
There is a bug in boot in this version: subhurd sometimes cannot boot.
Diffstat (limited to 'boot-proxy-exc/bootstrap_S.h')
-rw-r--r--boot-proxy-exc/bootstrap_S.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/boot-proxy-exc/bootstrap_S.h b/boot-proxy-exc/bootstrap_S.h
new file mode 100644
index 00000000..a93c8052
--- /dev/null
+++ b/boot-proxy-exc/bootstrap_S.h
@@ -0,0 +1,33 @@
+#ifndef _bootstrap_server_
+#define _bootstrap_server_
+
+/* Module bootstrap */
+
+#include <mach/kern_return.h>
+#include <mach/port.h>
+#include <mach/message.h>
+
+#include <mach/std_types.h>
+
+/* Routine bootstrap_privileged_ports */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif
+kern_return_t do_bootstrap_privileged_ports
+#if defined(LINTLIBRARY)
+ (bootstrap, priv_host, priv_device)
+ mach_port_t bootstrap;
+ mach_port_t *priv_host;
+ mach_port_t *priv_device;
+{ return do_bootstrap_privileged_ports(bootstrap, priv_host, priv_device); }
+#else
+(
+ mach_port_t bootstrap,
+ mach_port_t *priv_host,
+ mach_port_t *priv_device
+);
+#endif
+
+#endif /* not defined(_bootstrap_server_) */