From 23bf0ad3ba740069f7ba27a226d65bb321d6b731 Mon Sep 17 00:00:00 2001 From: tholo Date: Fri, 7 Feb 1997 08:05:01 +0000 Subject: [PATCH] Set up intrframe correctly for FPU exceptions again --- sys/arch/i386/i386/locore.s | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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) -- 2.20.1