]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commit
mini-os/x86-64 entry: check against nested events and try to fix up
authorXu Zhang <xzhang@cs.uic.edu>
Thu, 11 Apr 2013 04:47:00 +0000 (23:47 -0500)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 22 Apr 2013 11:32:51 +0000 (12:32 +0100)
commitea3c15f2c457b77b2f0e64075bd738d1536d9199
tree967842be5741d20e240a5c939ec2257ef6cd7071
parent8718a1094f9cd8574ca1ee064a398e6f4bcb463b
mini-os/x86-64 entry: check against nested events and try to fix up

In hypervisor_callback, check against event re-entrant.
If we came from the critical region in interrupt context,
try to fix up by coalescing the two stack frames.
The execution is resumed as if the second event never happened.

Signed-off-by: Xu Zhang <xzhang@cs.uic.edu>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
arch/x86/x86_64.S