summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 9e9aecd..77f6803 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
- * $Id: init_main.c,v 1.21 1995/04/10 07:44:31 phk Exp $
+ * $Id: init_main.c,v 1.22 1995/04/23 04:13:51 phk Exp $
*/
#include <sys/param.h>
@@ -205,6 +205,14 @@ main(framep)
p->p_addr = proc0paddr; /* XXX */
/*
+ * proc0 needs to have a coherent frame base, too.
+ * This probably makes the identical call for the init proc
+ * that happens later unnecessary since it should inherit
+ * it during the fork.
+ */
+ cpu_set_init_frame(p, framep); /* XXX! */
+
+ /*
* We continue to place resource usage info and signal
* actions in the user struct so they're pageable.
*/
OpenPOWER on IntegriCloud