From 307571308b115eb737281711c780fa4cd1ed837f Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Tue, 12 Nov 2019 17:27:07 +0100 Subject: Increase fault handler stack size --- kernel/tests/stack_overflow.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/tests/stack_overflow.rs') diff --git a/kernel/tests/stack_overflow.rs b/kernel/tests/stack_overflow.rs index dc53537..eedb3b5 100644 --- a/kernel/tests/stack_overflow.rs +++ b/kernel/tests/stack_overflow.rs @@ -14,7 +14,7 @@ use kernel::io::qemu; extern "C" fn _start() -> ! { kernel::init(); unsafe { - exceptions::expect_fault(interrupts::Interrupts::PAGE_FAULT); + exceptions::expect_fault(interrupts::Interrupts::NOT_PRESENT); } _loop(0); panic!("PAGE_FAULT not caught"); @@ -35,6 +35,6 @@ fn _loop(i: u128) -> u128 { #[panic_handler] #[no_mangle] extern "C" fn panic_handler(info: &core::panic::PanicInfo) -> ! { - kernel::testing::serial_should_panic(info); + kernel::testing::serial_panic(info); loop {} } -- cgit v1.2.3-70-g09d2