summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-25 07:55:20 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-25 07:55:20 +0000
commit47fc9be95d7e54d3bc8b970a4209300406778b86 (patch)
tree616feddc2da74b4467f73a80d537b84d7bed891a
parente524f5cfc7d00b401895c0836fbad986c715c9b0 (diff)
Faultbuf mods
-rw-r--r--sys/arch/powerpc/powerpc/locore.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/locore.S b/sys/arch/powerpc/powerpc/locore.S
index 52c611505d2..29e41708879 100644
--- a/sys/arch/powerpc/powerpc/locore.S
+++ b/sys/arch/powerpc/powerpc/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.6 1998/08/22 18:31:55 rahnds Exp $ */
+/* $OpenBSD: locore.S,v 1.7 1998/08/25 07:55:19 pefo Exp $ */
/* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */
/*
@@ -1228,12 +1228,13 @@ _C_LABEL(ipkdbsbyte):
_C_LABEL(setfault):
mflr 0
mfcr 12
+ mfmsr 2
lis 4,_C_LABEL(curpcb)@ha
lwz 4,_C_LABEL(curpcb)@l(4)
stw 3,PCB_FAULT(4)
stw 0,0(3)
- stw 1,4(3)
- stw 2,8(3)
+ stw 2,4(3)
+ stw 1,8(3)
stmw 12,12(3)
xor 3,3,3
blr