summaryrefslogtreecommitdiff
path: root/kernel/tests/int3.rs
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-11-15 19:20:20 +0100
committerDennis Kobert <dennis@kobert.dev>2019-11-15 19:20:20 +0100
commit8ee78510c4e182c636bd1ae851e38124985952fd (patch)
tree9c3b7e1ff26acf6c8f40b430fffbae2a2f2409e3 /kernel/tests/int3.rs
parent6134ec21326f8312d09b69c6cfee749f85846e53 (diff)
parent6f5f69cf0496b53b7a353cb414666802d7261ad6 (diff)
Merge branch 'exceptions'
Diffstat (limited to 'kernel/tests/int3.rs')
-rw-r--r--kernel/tests/int3.rs2
1 files changed, 1 insertions, 1 deletions
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");