kernel/x86_64: Fail on invalid interrupts instead of calling FIXME_UNHANDLED_INTERRUPT
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:
apio 2023-07-25 18:23:33 +02:00
parent 58fa297068
commit 5aad7d3154
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -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");
}
}