aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/hypervisor.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-16 10:06:19 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-16 10:06:19 +0100
commit796b445b0080452f93f4a98af2d4fe8fea15ebf4 (patch)
treefb5721f7492c545ec056d9a3789769468b1e7999 /extras/mini-os/include/hypervisor.h
parent28baa78877ebda840603774d6a1e3e9da9546a6e (diff)
downloadxen-796b445b0080452f93f4a98af2d4fe8fea15ebf4.tar.gz
xen-796b445b0080452f93f4a98af2d4fe8fea15ebf4.tar.bz2
xen-796b445b0080452f93f4a98af2d4fe8fea15ebf4.zip
minios: call do_hypervisor_callback directly from force_evtchn_callback
instead of unnecessarily going through the hypervisor. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include/hypervisor.h')
-rw-r--r--extras/mini-os/include/hypervisor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/mini-os/include/hypervisor.h b/extras/mini-os/include/hypervisor.h
index e06f54bdef..41ef161db1 100644
--- a/extras/mini-os/include/hypervisor.h
+++ b/extras/mini-os/include/hypervisor.h
@@ -24,6 +24,7 @@
#else
#error "Unsupported architecture"
#endif
+#include <traps.h>
/*
* a placeholder for the start of day information passed up from the hypervisor
@@ -37,7 +38,8 @@ extern union start_info_union start_info_union;
#define start_info (start_info_union.start_info)
/* hypervisor.c */
-//void do_hypervisor_callback(struct pt_regs *regs);
+void force_evtchn_callback(void);
+void do_hypervisor_callback(struct pt_regs *regs);
void mask_evtchn(u32 port);
void unmask_evtchn(u32 port);
void clear_evtchn(u32 port);