Spurious interrupt?
This commit is contained in:
parent
0532fa6421
commit
3e8555315b
|
@ -73,6 +73,7 @@ static char *ExceptionsChar[32] = {
|
||||||
static void EnablePIC(void);
|
static void EnablePIC(void);
|
||||||
static void EarlyExceptionHandler(ISRFrame_t *regs);
|
static void EarlyExceptionHandler(ISRFrame_t *regs);
|
||||||
static void DoubleFaultHandler(ISRFrame_t *regs);
|
static void DoubleFaultHandler(ISRFrame_t *regs);
|
||||||
|
static void SpuriousChkHandler(ISRFrame_t *regs);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Registers an isr with his IRQ to handle driver interrupts
|
// Registers an isr with his IRQ to handle driver interrupts
|
||||||
|
@ -181,6 +182,7 @@ void KeSetupIDT(void)
|
||||||
|
|
||||||
KeRegisterISR(KeBrkDumpRegisters, 0x3);
|
KeRegisterISR(KeBrkDumpRegisters, 0x3);
|
||||||
KeRegisterISR(DoubleFaultHandler, 0x8);
|
KeRegisterISR(DoubleFaultHandler, 0x8);
|
||||||
|
KeRegisterISR(SpuriousChkHandler, 0x27);
|
||||||
|
|
||||||
// Load IDT
|
// Load IDT
|
||||||
KeLoadIDT();
|
KeLoadIDT();
|
||||||
|
@ -343,6 +345,14 @@ static void EarlyExceptionHandler(ISRFrame_t *regs)
|
||||||
KeHaltCPU();
|
KeHaltCPU();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Spurious interruption check
|
||||||
|
//
|
||||||
|
void SpuriousChkHandler(ISRFrame_t *regs)
|
||||||
|
{
|
||||||
|
// XXX;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Double Fault handling and stack overflow detection
|
// Double Fault handling and stack overflow detection
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue