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

[Xen-changelog] [xen-unstable] [Mini-OS] Permit x86_64 trap handlers to return



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1195911061 0
# Node ID 2c52520f3284525741aedd55ab06a41cd2c784fd
# Parent  ee519207734fcd9874647268f756a6c503963782
[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>
---
 extras/mini-os/arch/x86/x86_64.S |    1 +
 1 files changed, 1 insertion(+)

diff -r ee519207734f -r 2c52520f3284 extras/mini-os/arch/x86/x86_64.S
--- a/extras/mini-os/arch/x86/x86_64.S  Sat Nov 24 13:29:20 2007 +0000
+++ b/extras/mini-os/arch/x86/x86_64.S  Sat Nov 24 13:31:01 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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