summaryrefslogtreecommitdiff
path: root/libdiskfs/boot-start.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-18 22:22:42 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-18 22:22:42 +0000
commit72def196f5afd8be357a13380c18b976d0c37b0c (patch)
tree75af914d77e085d4be6994e460e86546d5391b34 /libdiskfs/boot-start.c
parent0423498180d6ac24ca2c398d9c094d7ea6007765 (diff)
Formerly boot-start.c.~28~
Diffstat (limited to 'libdiskfs/boot-start.c')
-rw-r--r--libdiskfs/boot-start.c18
1 files changed, 14 insertions, 4 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index c1359b91..4a5a01c1 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -139,8 +139,13 @@ diskfs_start_bootstrap (void)
'\0');
task_create (mach_task_self (), 0, &newt);
- printf ("pausing for init...\n");
- getc (stdin);
+ if (diskfs_bootflags & RB_KDB)
+ {
+ printf ("pausing for init...\n");
+ getc (stdin);
+ }
+ printf (" init");
+ fflush (stdout);
err = exec_exec (diskfs_exec, startup_pt, MACH_MSG_TYPE_COPY_SEND,
newt, 0, argv, argvlen, 0, 0,
fdarray, MACH_MSG_TYPE_COPY_SEND, 3,
@@ -447,8 +452,13 @@ start_execserver (void)
err = thread_create (newt, &newthd);
err = mach_setup_thread (newt, newthd, (void *) execserver_start,
&exec_stack_base, &exec_stack_size);
- printf ("pausing for exec\n");
- getc (stdin);
+ if (diskfs_bootflags & RB_KDB)
+ {
+ printf ("pausing for exec\n");
+ getc (stdin);
+ }
thread_resume (newthd);
+ printf (" exec");
+ fflush (stdout);
}