diff options
Diffstat (limited to 'kernel/src/interrupts/exception_handlers.rs')
-rw-r--r-- | kernel/src/interrupts/exception_handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/src/interrupts/exception_handlers.rs b/kernel/src/interrupts/exception_handlers.rs index ef67eff..c689501 100644 --- a/kernel/src/interrupts/exception_handlers.rs +++ b/kernel/src/interrupts/exception_handlers.rs @@ -94,7 +94,7 @@ pub extern "x86-interrupt" fn segment_not_present_handler( pub extern "x86-interrupt" fn double_fault_handler( stack_frame: &mut InterruptStackFrame, _error_code: u64, // code is always zero -) { +) -> ! { match get_expected_fault() { InterruptType::DoubleFault => qemu::exit_qemu(qemu::QemuExitCode::Success), _ => panic!( |