Idt in progress !
This commit is contained in:
parent
1cacf1a4d0
commit
02ded3d5ae
|
@ -117,23 +117,23 @@ static const char *IsrExceptions[32] = {
|
||||||
"Stack Segment fault",
|
"Stack Segment fault",
|
||||||
"General Protection Fault",
|
"General Protection Fault",
|
||||||
"Page Fault",
|
"Page Fault",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"x87 FPU Floating Point or Math Fault",
|
"x87 FPU Floating Point or Math Fault",
|
||||||
"Alignment Check Fault",
|
"Alignment Check Fault",
|
||||||
"Machine Check Abort",
|
"Machine Check Abort",
|
||||||
"SIMD Floating Point Fault",
|
"SIMD Floating Point Fault",
|
||||||
"Virtualization Exception Fault",
|
"Virtualization Exception Fault",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved",
|
"Intel Reserved",
|
||||||
"Reserved"
|
"Intel Reserved"
|
||||||
};
|
};
|
||||||
|
|
||||||
struct IdtDescriptor_t {
|
struct IdtDescriptor_t {
|
||||||
|
|
|
@ -135,7 +135,7 @@ void IdtHandler(ulong intNo)
|
||||||
if (irrecoverable) {
|
if (irrecoverable) {
|
||||||
KeStartPanic("Irrecoverable exception 0x%x : %s\n", intNo, exceptionMsg);
|
KeStartPanic("Irrecoverable exception 0x%x : %s\n", intNo, exceptionMsg);
|
||||||
} else {
|
} else {
|
||||||
bprintf(BStdOut, "Exception 0x%x : %s\n", intNo, exceptionMsg);
|
bprintf(BStdOut, "[ISR 0x%x] %s\n", intNo, exceptionMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue