All exceptions IDT descriptors must use interrupt gates on 4/4 kernel.
Fix it for #MF. Noted by: rlibby Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
7a18e90447
commit
6ee7d5afcc
@ -2253,7 +2253,7 @@ i386_setidt1(void)
|
||||
GSEL(GCODE_SEL, SEL_KPL));
|
||||
setidt(IDT_PF, &IDTVEC(page), SDT_SYS386IGT, SEL_KPL,
|
||||
GSEL(GCODE_SEL, SEL_KPL));
|
||||
setidt(IDT_MF, &IDTVEC(fpu), SDT_SYS386TGT, SEL_KPL,
|
||||
setidt(IDT_MF, &IDTVEC(fpu), SDT_SYS386IGT, SEL_KPL,
|
||||
GSEL(GCODE_SEL, SEL_KPL));
|
||||
setidt(IDT_AC, &IDTVEC(align), SDT_SYS386IGT, SEL_KPL,
|
||||
GSEL(GCODE_SEL, SEL_KPL));
|
||||
|
Loading…
Reference in New Issue
Block a user