summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-07-18 14:50:11 +0000
committerderaadt <deraadt@openbsd.org>2005-07-18 14:50:11 +0000
commit972927fdc0f92ee9abc6689503fcbfad0c95b2a1 (patch)
treee57d33bfffba4ba63592bc50248ff77cb54ba4e4
parentMatch Sphairon UB801R. (diff)
downloadwireguard-openbsd-972927fdc0f92ee9abc6689503fcbfad0c95b2a1.tar.xz
wireguard-openbsd-972927fdc0f92ee9abc6689503fcbfad0c95b2a1.zip
cache a copy of the fprs so we know what fp restore we should do after
-rw-r--r--sys/arch/sparc64/sparc64/locore.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index 4b31b832513..914ce05eee0 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.50 2005/07/14 01:46:13 deraadt Exp $ */
+/* $OpenBSD: locore.s,v 1.51 2005/07/18 14:50:11 deraadt Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -4933,6 +4933,7 @@ _C_LABEL(sigcode):
stda %f48, [%l0] ASI_BLK_P
2:
membar #Sync
+ rd %fprs, %l0 ! reload fprs copy, for checking after
rd %y, %l1 ! in any case, save %y
lduw [%fp + BIAS + 128], %o0 ! sig
ldx [%fp + BIAS + 128 + 8], %o1 ! siginfo