50045fbc7c
automatically hacks on the active copy of the IDT if f00f_hack() has changed it. This also allows simplifications in setidt(). This fixes breakage of FP exception handling by rev.1.55 of sys/kernel.h. FP exceptions were sent to npx.c's probe handlers because npx.c "restored" the old handlers to the wrong copy of the IDT. The SYSINIT for f00f_hack() was purposely run quite late to avoid problems like this, but it is bogusly associated with the SYSINIT for proc0 so it was moved with the latter. Problem reported and fix tested by: Martin Cracauer <cracauer@cons.org> |
||
---|---|---|
.. | ||
pc | ||
apicreg.h | ||
asm.h | ||
asmacros.h | ||
atomic.h | ||
bus_amd64.h | ||
bus_at386.h | ||
bus_dma.h | ||
bus_memio.h | ||
bus_pio.h | ||
bus.h | ||
clock.h | ||
cpu.h | ||
cpufunc.h | ||
cputypes.h | ||
db_machdep.h | ||
elf.h | ||
exec.h | ||
float.h | ||
floatingpoint.h | ||
fpu.h | ||
frame.h | ||
ieeefp.h | ||
md_var.h | ||
mptable.h | ||
npx.h | ||
pcb_ext.h | ||
pcb.h | ||
pci_cfgreg.h | ||
pcpu.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
segments.h | ||
setjmp.h | ||
signal.h | ||
smp.h | ||
specialreg.h | ||
sysarch.h | ||
trap.h | ||
tss.h | ||
varargs.h | ||
vmparam.h |