summaryrefslogtreecommitdiff
path: root/kernel/tests/int3.rs
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-11-15 21:20:38 +0100
committerDennis Kobert <dennis@kobert.dev>2019-11-15 21:20:38 +0100
commit564dc1d1407055777b400e42f9a86a58b9921473 (patch)
tree3e3fded5470c6a318f011e280672ed8f038cada5 /kernel/tests/int3.rs
parent6590a5acfee33bae3ca0431c8af09768248fe405 (diff)
Rename Interrupts enum to InterruptType
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 e71ff68..d068b9e 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 {
- exception_handlers::expect_fault(interrupts::Interrupts::Breakpoint);
+ exception_handlers::expect_fault(interrupts::InterruptType::Breakpoint);
}
x86_64::instructions::interrupts::int3();
panic!("BREAKPOINT not caught");