mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
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 EarlyExceptionHandler(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
|
||||
@ -181,6 +182,7 @@ void KeSetupIDT(void)
|
||||
|
||||
KeRegisterISR(KeBrkDumpRegisters, 0x3);
|
||||
KeRegisterISR(DoubleFaultHandler, 0x8);
|
||||
KeRegisterISR(SpuriousChkHandler, 0x27);
|
||||
|
||||
// Load IDT
|
||||
KeLoadIDT();
|
||||
@ -343,6 +345,14 @@ static void EarlyExceptionHandler(ISRFrame_t *regs)
|
||||
KeHaltCPU();
|
||||
}
|
||||
|
||||
//
|
||||
// Spurious interruption check
|
||||
//
|
||||
void SpuriousChkHandler(ISRFrame_t *regs)
|
||||
{
|
||||
// XXX;
|
||||
}
|
||||
|
||||
//
|
||||
// Double Fault handling and stack overflow detection
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user