summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-01-18 03:28:02 +0000
committernyan <nyan@FreeBSD.org>2002-01-18 03:28:02 +0000
commit26e43e11761e110071c03758806cda4a248c44b6 (patch)
tree8e014d17890eb70d04b25cf5ccc8e192c27571e3 /sys/pc98
parentc482b9ec322fd9301c2d1ed4a870173fa6f655d8 (diff)
downloadFreeBSD-src-26e43e11761e110071c03758806cda4a248c44b6.zip
FreeBSD-src-26e43e11761e110071c03758806cda4a248c44b6.tar.gz
MFi386: revision 1.487
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c1
-rw-r--r--sys/pc98/pc98/machdep.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 3ba1370..0c65af4 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -477,6 +477,7 @@ sendsig(catcher, sig, mask, code)
? ((oonstack) ? SS_ONSTACK : 0) : SS_DISABLE;
sf.sf_uc.uc_mcontext.mc_onstack = (oonstack) ? 1 : 0;
sf.sf_uc.uc_mcontext.mc_gs = rgs();
+ sf.sf_uc.uc_mcontext.mc_flags = __UC_MC_VALID; /* no FP regs */
bcopy(regs, &sf.sf_uc.uc_mcontext.mc_fs, sizeof(*regs));
/* Allocate and validate space for the signal handler context. */
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 3ba1370..0c65af4 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -477,6 +477,7 @@ sendsig(catcher, sig, mask, code)
? ((oonstack) ? SS_ONSTACK : 0) : SS_DISABLE;
sf.sf_uc.uc_mcontext.mc_onstack = (oonstack) ? 1 : 0;
sf.sf_uc.uc_mcontext.mc_gs = rgs();
+ sf.sf_uc.uc_mcontext.mc_flags = __UC_MC_VALID; /* no FP regs */
bcopy(regs, &sf.sf_uc.uc_mcontext.mc_fs, sizeof(*regs));
/* Allocate and validate space for the signal handler context. */
OpenPOWER on IntegriCloud