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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Xen patchbot-unstable
# HG changeset patch
# User Keir Fraser <[hidden email]>
# 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 <[hidden email]>
---
 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
[hidden email]
http://lists.xensource.com/xen-changelog