From 3276cd16221cedeba3d932b7bee7fc3a9f305f90 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 18 Jul 2005 14:50:12 +0000 Subject: cache a copy of the fprs so we know what fp restore we should do after --- sys/arch/sparc64/sparc64/locore.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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 -- cgit v1.2.3