From 0104529bd466688238c5b5bc13cc1adcf0a5a682 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sun, 18 May 2003 15:57:48 +0000 Subject: save the fpu state for the signal handler. this is essential as the fpu regs can be used by the gcc even for non-fpu means and data copying. rearrange the sigcontext a bit to include only the general registers that are needed restoring upon return and thus less waste of space and make up some space for the fpu regs. ALL software that used the signal context on the stack needs at least rebuilding now. a new snap has bin built as well. --- sys/arch/hppa/include/signal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/hppa/include') diff --git a/sys/arch/hppa/include/signal.h b/sys/arch/hppa/include/signal.h index 875a6b7b3b2..fb6635c9dd2 100644 --- a/sys/arch/hppa/include/signal.h +++ b/sys/arch/hppa/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.2 2002/02/06 19:39:20 mickey Exp $ */ +/* $OpenBSD: signal.h,v 1.3 2003/05/18 15:57:47 mickey Exp $ */ /* * Copyright (c) 1994, The University of Utah and @@ -44,10 +44,10 @@ struct sigcontext { int sc_onstack; /* sigstack state to restore */ int sc_mask; /* signal mask to restore */ int sc_ps; /* psl to restore */ - int sc_sp; /* sp to restore */ int sc_fp; /* fp to restore */ int sc_pcoqh; /* pc offset queue (head) to restore */ int sc_pcoqt; /* pc offset queue (tail) to restore */ - int sc_resv[5]; - int sc_tf[64]; + int sc_resv[2]; + int sc_regs[32]; + int sc_fpregs[64]; }; -- cgit v1.2.3