diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-13 03:07:30 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-13 03:07:30 +0000 |
commit | 6f14233f45c422bb01fcbeee812f3b1929ad9166 (patch) | |
tree | 0cf21946aaa0099daf6d7ed51a6a570b4ba07943 /sys | |
parent | 999e2fb3620d6bbe8b2e9e45e86693eca668f792 (diff) |
In cpu_fork, initialize the ipl of the new process to
run at IPL_0.
From NetBSD.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/alpha/vm_machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/vm_machdep.c b/sys/arch/alpha/alpha/vm_machdep.c index 296a13fb88f..2d514948568 100644 --- a/sys/arch/alpha/alpha/vm_machdep.c +++ b/sys/arch/alpha/alpha/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.19 2001/03/21 10:15:05 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.20 2001/04/13 03:07:29 art Exp $ */ /* $NetBSD: vm_machdep.c,v 1.55 2000/03/29 03:49:48 simonb Exp $ */ /* @@ -238,6 +238,7 @@ cpu_fork(p1, p2, stack, stacksize) (u_int64_t)p2; /* s2: arg */ up->u_pcb.pcb_context[7] = (u_int64_t)switch_trampoline; /* ra: assembly magic */ + up->u_pcb.pcb_context[8] = ALPHA_PSL_IPL_0; /* ps: IPL */ } } |