From 4e78a1200213eb3d6666b611ddc14b2edc5cd847 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 17 Sep 2016 08:13:09 -0600 Subject: [PATCH] Do not halt on page fault, do a stack dump --- arch/x86_64/src/lib.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/x86_64/src/lib.rs b/arch/x86_64/src/lib.rs index bbc68ce..808d238 100644 --- a/arch/x86_64/src/lib.rs +++ b/arch/x86_64/src/lib.rs @@ -139,14 +139,7 @@ macro_rules! interrupt_error { } // Push scratch registers - asm!("pop rax - pop rbx - pop rcx - pop rdx - pop rsi - pop rdi - hlt - push rax + asm!("push rax push rcx push rdx push rdi