diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-03-02 06:11:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-03-02 06:11:55 +0000 |
commit | b598146d1a6495e37a541155e84a68656e8d417c (patch) | |
tree | 5ac40829b66e0ddccc3d7c1058e48a3485307e3a /sys/arch/sh/include/signal.h | |
parent | 5b3f6165185fde0cfa60cbcb08f04c98bc07b4ce (diff) |
Move landisk to hardware floating point. At the moment the FPU context is
always saved upon context switches, as FPU registers are heavily used for
long long computations (don't ask). Gcc default to -m4.
Credits to drahn@ otto@ and deraadt@ for feedback and help testing.
Upgrade procedure if you don't want to use the damn snapshots:
- build and install new kernel, reboot off it
- build new gcc, do not install it yet
- make includes
- install new gcc
- build and install lib/csu and lib/libc
- make build
Diffstat (limited to 'sys/arch/sh/include/signal.h')
-rw-r--r-- | sys/arch/sh/include/signal.h | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/sys/arch/sh/include/signal.h b/sys/arch/sh/include/signal.h index b742e598ef5..c0565a5554a 100644 --- a/sys/arch/sh/include/signal.h +++ b/sys/arch/sh/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.1 2006/10/06 21:02:55 miod Exp $ */ +/* $OpenBSD: signal.h,v 1.2 2007/03/02 06:11:54 miod Exp $ */ /* $NetBSD: signal.h,v 1.12 2005/12/11 12:18:58 christos Exp $ */ /* @@ -36,6 +36,7 @@ #define _SH_SIGNAL_H_ #include <sys/cdefs.h> +#include <sh/reg.h> typedef int sig_atomic_t; @@ -48,25 +49,8 @@ typedef int sig_atomic_t; * a non-standard exit is performed. */ struct sigcontext { - int sc_spc; - int sc_ssr; - int sc_pr; - int sc_r14; - int sc_r13; - int sc_r12; - int sc_r11; - int sc_r10; - int sc_r9; - int sc_r8; - int sc_r7; - int sc_r6; - int sc_r5; - int sc_r4; - int sc_r3; - int sc_r2; - int sc_r1; - int sc_r0; - int sc_r15; + struct reg sc_reg; + struct fpreg sc_fpreg; int sc_onstack; /* sigstack state to restore */ |