summaryrefslogtreecommitdiff
path: root/kernel/src/interrupts/exception_handlers.rs
diff options
context:
space:
mode:
authorNatrixAeria <upezu@student.kit.edu>2021-03-22 20:36:15 +0100
committerNatrixAeria <upezu@student.kit.edu>2021-03-22 20:36:15 +0100
commit861073d07b0fd70c5017fa96aa67dd7df4de9443 (patch)
tree726dd42c9d9fe4e01d59f24d7f55f1e3cf142532 /kernel/src/interrupts/exception_handlers.rs
parent2701fe07b4c8c9b6a36112c98fbfc900acbd6cf3 (diff)
Refresh rust version
Diffstat (limited to 'kernel/src/interrupts/exception_handlers.rs')
-rw-r--r--kernel/src/interrupts/exception_handlers.rs2
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!(