aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/hypervisor.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-02 09:12:39 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-02 09:12:39 +0100
commitf08246e1976e3ae483c2568e4e510cb3f2b6e44d (patch)
treeb4a7999be3d4dc10a52652824a3dde2cc767ed29 /extras/mini-os/hypervisor.c
parentaf8fc368d78db62f9f637e7e433d1a5027ef47b1 (diff)
downloadxen-f08246e1976e3ae483c2568e4e510cb3f2b6e44d.tar.gz
xen-f08246e1976e3ae483c2568e4e510cb3f2b6e44d.tar.bz2
xen-f08246e1976e3ae483c2568e4e510cb3f2b6e44d.zip
Fix x86/64 version of Mini-OS. It encompasses the following:
a) 64-bit switch_to scheduler macro (by Aravindh Puthiyaparambil) b) implements 64-bit hypervisor_callback c) fixes thread creation issues (thread_starter used to perform initialisation) Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/hypervisor.c')
-rw-r--r--extras/mini-os/hypervisor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/hypervisor.c b/extras/mini-os/hypervisor.c
index 29a34a463f..2c2efa7e46 100644
--- a/extras/mini-os/hypervisor.c
+++ b/extras/mini-os/hypervisor.c
@@ -41,8 +41,8 @@ void do_hypervisor_callback(struct pt_regs *regs)
shared_info_t *s = HYPERVISOR_shared_info;
vcpu_info_t *vcpu_info = &s->vcpu_info[cpu];
+
vcpu_info->evtchn_upcall_pending = 0;
-
/* NB. No need for a barrier here -- XCHG is a barrier on x86. */
l1 = xchg(&vcpu_info->evtchn_pending_sel, 0);
while ( l1 != 0 )