aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/time.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-27 17:43:29 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-27 17:43:29 +0100
commitca068fad60804e3ea329c88e05958d83f68cdb24 (patch)
tree950ca75c61cb7dd1c6f74852bfc97cba76f3a124 /extras/mini-os/time.c
parentac266cafdafedeed0fd4d2d55b0f9831fa4bd80a (diff)
downloadxen-ca068fad60804e3ea329c88e05958d83f68cdb24.tar.gz
xen-ca068fad60804e3ea329c88e05958d83f68cdb24.tar.bz2
xen-ca068fad60804e3ea329c88e05958d83f68cdb24.zip
I've created a patch to get the mini-os to compile in Xen-unstable. The patch
is pretty big, but this is mostly because I've replaced hypervisor.h with the hypercalls.h header file from Linux (which seems easier to maintain anyway). I've ignored X86_64. Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
Diffstat (limited to 'extras/mini-os/time.c')
-rw-r--r--extras/mini-os/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/time.c b/extras/mini-os/time.c
index dc4213389d..e66331e592 100644
--- a/extras/mini-os/time.c
+++ b/extras/mini-os/time.c
@@ -208,7 +208,7 @@ void block_domain(u32 millisecs)
struct timeval tv;
gettimeofday(&tv);
HYPERVISOR_set_timer_op(monotonic_clock() + 1000000LL * (s64) millisecs);
- HYPERVISOR_block();
+ HYPERVISOR_sched_op(SCHEDOP_block, 0);
}