summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-03-21 22:02:50 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-03-21 22:02:50 +0000
commitd8312c6aacd7d06416947cccd0549c6d615d32aa (patch)
tree4f48ecd5b0d066dd88ceb9a075f04053582a8142 /init
parentcc49768adfaf3bdbbbd204c3f91efe931b44360b (diff)
Formerly init.c.~3~
Diffstat (limited to 'init')
-rw-r--r--init/init.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 2d3933d4..6b01964d 100644
--- a/init/init.c
+++ b/init/init.c
@@ -19,11 +19,24 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell and Roland McGrath. */
+#include <hurd.h>
+#include <hurd/fs.h>
+#include <hurd/fsys.h>
+#include <device/device.h>
+#include <stdio.h>
+#include <assert.h>
+
+#include "startup_reply.h"
+
+mach_port_t startup;
+
int
main (int argc, char **argv)
{
int err;
mach_port_t bootport;
+ int i;
+ mach_port_t ports[INIT_PORT_MAX];
/* Fetch a port to the bootstrap filesystem, the host priv and
master device ports, and the console */