diff options
-rw-r--r-- | boot/boot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boot/boot.c b/boot/boot.c index d440f799..2c9150c8 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -404,6 +404,8 @@ main (int argc, char **argv, char **envp) sigvec (SIGMSG, &vec, 0); sigvec (SIGEMSG, &vec, 0); + thread_create (newtask, &newthread); + if (boot_like_hurd) __mach_setup_thread (newtask, newthread, (char *)startpc, &fs_stack_base, &fs_stack_size); @@ -416,8 +418,6 @@ main (int argc, char **argv, char **envp) "[BOOTSTRAP fs]", bootstrap_args, bootdevice, "/", 0); - thread_create (newtask, &newthread); - if (index (bootstrap_args, 'd')) { write (1, "pausing\n", 8); @@ -794,6 +794,7 @@ bootstrap_compat(in, out) imsg.port_desc_2 = imsg.port_desc_1; + imsg.port_desc_2.msgt_name = MACH_MSG_TYPE_MAKE_SEND; imsg.port_2 = pseudo_master_device_port; /* |