some bug corrected
This commit is contained in:
parent
4ee95db32e
commit
821019e0d8
|
@ -320,7 +320,7 @@ void _KeHandleISR(ISRFrame_t *regs)
|
||||||
return; // INTEL RESERVED
|
return; // INTEL RESERVED
|
||||||
|
|
||||||
// Spurious interrupt handling.
|
// Spurious interrupt handling.
|
||||||
if (!(KeGetIrqRegister(0x0b) & (1<<(regs->intNo - 0x20)))) {
|
if (regs->intNo > 0x20 && !(KeGetIrqRegister(0x0b) & (1<<(regs->intNo - 0x20)))) {
|
||||||
KeSpuriousCount++;
|
KeSpuriousCount++;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue