From 67df24a850b6dc070382289d09c70e369726cac4 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Fri, 15 Nov 2019 07:32:54 +0100 Subject: Add protection fault handler --- kernel/tests/int3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/tests/int3.rs') diff --git a/kernel/tests/int3.rs b/kernel/tests/int3.rs index f4e2116..f5b5470 100644 --- a/kernel/tests/int3.rs +++ b/kernel/tests/int3.rs @@ -13,7 +13,7 @@ use kernel::io::qemu; extern "C" fn _start() -> ! { kernel::init(); unsafe { - exceptions::expect_fault(interrupts::Interrupts::BREAKPOINT); + exceptions::expect_fault(interrupts::Interrupts::Breakpoint); } x86_64::instructions::interrupts::int3(); panic!("BREAKPOINT not caught"); -- cgit v1.2.3-70-g09d2