artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d3947d
)
Set up intrframe correctly for FPU exceptions again
author
tholo
<tholo@openbsd.org>
Fri, 7 Feb 1997 08:05:01 +0000
(08:05 +0000)
committer
tholo
<tholo@openbsd.org>
Fri, 7 Feb 1997 08:05:01 +0000
(08:05 +0000)
sys/arch/i386/i386/locore.s
patch
|
blob
|
history
diff --git
a/sys/arch/i386/i386/locore.s
b/sys/arch/i386/i386/locore.s
index
74f8738
..
19a3d16
100644
(file)
--- a/
sys/arch/i386/i386/locore.s
+++ b/
sys/arch/i386/i386/locore.s
@@
-2036,13
+2036,11
@@
IDTVEC(fpu)
pushl $0 # dummy error code
pushl $T_ASTFLT
INTRENTRY
-#if 0
- pushl _cpl # this is apparently not used for anything
-#endif
- pushl %esp
+ pushl _cpl # if_ppl in intrframe
+ pushl %esp # push address of intrframe
incl _cnt+V_TRAP
call _npxintr
- addl $8,%esp
+ addl $8,%esp
# pop address and if_ppl
INTRFASTEXIT
#else
ZTRAP(T_ARITHTRAP)