Spurious exception now detected and handled #83
This commit is contained in:
parent
4f0922e34a
commit
0b7247ef00
|
@ -319,11 +319,8 @@ void _KeHandleISR(ISRFrame_t *regs)
|
|||
if ((regs->intNo == 0x0F) || (regs->intNo == 0x1F))
|
||||
return; // INTEL RESERVED
|
||||
|
||||
if (!(KeGetIrqRegister(0x0b) & (1<<(regs->intNo - 0x20)))) {
|
||||
bprintf(BStdDbg, "[%d]\tISR 0x%x SPURIOUS\n",
|
||||
KeGetTicks(),
|
||||
regs->intNo
|
||||
);
|
||||
// Spurious interrupt handling.
|
||||
if (!(KeGetIrqRegister(0x0b) & (1<<(regs->intNo - 0x20)))) {
|
||||
KeSpuriousCount++;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue