From 153bf118147546554a2cb774a637f94b89c36f56 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 24 Nov 2007 13:31:01 +0000 Subject: [Mini-OS] Permit x86_64 trap handlers to return Trap handlers sometimes fix the problem, so they need to be able to return. Signed-off-by: Samuel Thibault --- extras/mini-os/arch/x86/x86_64.S | 1 + 1 file changed, 1 insertion(+) (limited to 'extras/mini-os/arch') diff --git a/extras/mini-os/arch/x86/x86_64.S b/extras/mini-os/arch/x86/x86_64.S index 55b17da5f7..815dca36ad 100644 --- a/extras/mini-os/arch/x86/x86_64.S +++ b/extras/mini-os/arch/x86/x86_64.S @@ -193,6 +193,7 @@ error_call_handler: movq ORIG_RAX(%rsp),%rsi # get error code movq $-1,ORIG_RAX(%rsp) call *%rax + jmp error_exit .macro zeroentry sym # INTR_FRAME -- cgit v1.2.3