diff options
author | 2001-04-13 03:07:29 +0000 | |
---|---|---|
committer | 2001-04-13 03:07:29 +0000 | |
commit | d80a40eeb09663dcc675e56e20ff38bb3d713c1c (patch) | |
tree | f8d4bb67c7003a6c198db0536bb119016495a16e | |
parent | bmtphy (diff) | |
download | wireguard-openbsd-d80a40eeb09663dcc675e56e20ff38bb3d713c1c.tar.xz wireguard-openbsd-d80a40eeb09663dcc675e56e20ff38bb3d713c1c.zip |
In cpu_fork, initialize the ipl of the new process to
run at IPL_0.
From NetBSD.
-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 */ } } |