[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] [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 <samuel.thibault@xxxxxxxxxx>

diff -r dc9246357cdb extras/mini-os/arch/x86/x86_64.S
--- a/extras/mini-os/arch/x86/x86_64.S  Fri Nov 23 16:42:44 2007 +0000
+++ b/extras/mini-os/arch/x86/x86_64.S  Fri Nov 23 17:58:26 2007 +0000
@@ -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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.