Update to latest Metalkit sources. Includes a fix for BIOS triple-fault issues.

This commit is contained in:
Micah Dowty 2009-10-23 23:58:13 +00:00
parent eabc723c58
commit a8adcf8408

View file

@ -157,6 +157,14 @@ BIOSCallInternal(void)
asm volatile("BIOSTrampolineVector: \n"
"int $0xFF");
/*
* Some BIOS routines will turn interrupts back on. If an interrupt
* occurs while we're partway through our 16-to-32 transition
* below, any interrupts will cause the ISR to fault, so we must
* make sure interrupts are still off.
*/
asm volatile("cli");
/*
* Push Regs back onto the stack.
*/