* [PATCH] [Mini-OS] Permit x86_64 trap handlers to return
@ 2007-11-23 18:00 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2007-11-23 18:00 UTC (permalink / raw)
To: xen-devel
Trap handlers sometimes fix the problem, so they need to be able to
return.
Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-23 18:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 18:00 [PATCH] [Mini-OS] Permit x86_64 trap handlers to return Samuel Thibault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.