From: tholo Date: Fri, 7 Feb 1997 08:05:01 +0000 (+0000) Subject: Set up intrframe correctly for FPU exceptions again X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=23bf0ad3ba740069f7ba27a226d65bb321d6b731;p=openbsd Set up intrframe correctly for FPU exceptions again --- diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index 74f8738eee1..19a3d16eb34 100644 --- 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)