kernel/x86_64: Fail on invalid interrupts instead of calling FIXME_UNHANDLED_INTERRUPT
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
A FIXME is something that should be changed later, this is a check for something that should never happen.
This commit is contained in:
parent
58fa297068
commit
5aad7d3154
@ -134,7 +134,7 @@ extern "C" void handle_x86_exception(Registers* regs)
|
||||
case 19: FIXME_UNHANDLED_INTERRUPT("SIMD floating-point exception");
|
||||
case 20: FIXME_UNHANDLED_INTERRUPT("Virtualization exception");
|
||||
case 21: FIXME_UNHANDLED_INTERRUPT("Control-protection exception");
|
||||
default: FIXME_UNHANDLED_INTERRUPT("Reserved exception or #DF/#MC, which shouldn't call handle_x86_exception");
|
||||
default: fail("Caught invalid reserved exception or #DF/#MC, which shouldn't call handle_x86_exception");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user