# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID ba4c40353fff1d5b16bb079472b0ac7345a4ed36
# Parent e343f1850be0229a6cd5dbcbc71a421f4ecc8906
[MINIOS] Event channel hypercall update for 64-bit guests.
Signed-off-by: Grzegorz Milos <gm281@xxxxxxxxx>
---
extras/mini-os/Makefile | 6 +++++-
extras/mini-os/include/events.h | 2 +-
extras/mini-os/include/x86/x86_64/hypercall-x86_64.h | 6 +++---
3 files changed, 9 insertions(+), 5 deletions(-)
diff -r e343f1850be0 -r ba4c40353fff extras/mini-os/Makefile
--- a/extras/mini-os/Makefile Fri Nov 17 09:16:27 2006 +0000
+++ b/extras/mini-os/Makefile Fri Nov 17 09:16:51 2006 +0000
@@ -122,6 +122,7 @@ clean:
rm -f *.o *~ core $(TARGET).elf $(TARGET).raw $(TARGET) $(TARGET).gz
rm -f libminios.a
find . -type l | xargs rm -f
+ rm -f tags TAGS
%.o: %.c $(HDRS) Makefile
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
@@ -137,4 +138,7 @@ cscope:
cscope:
$(all_sources) > cscope.files
cscope -k -b -q
-
+
+.PHONY: tags
+tags:
+ $(all_sources) | xargs ctags
diff -r e343f1850be0 -r ba4c40353fff extras/mini-os/include/events.h
--- a/extras/mini-os/include/events.h Fri Nov 17 09:16:27 2006 +0000
+++ b/extras/mini-os/include/events.h Fri Nov 17 09:16:51 2006 +0000
@@ -20,7 +20,7 @@
#define _EVENTS_H_
#include<traps.h>
-#include <xen/event_channel.h>
+#include<xen/event_channel.h>
typedef void (*evtchn_handler_t)(evtchn_port_t, struct pt_regs *, void *);
diff -r e343f1850be0 -r ba4c40353fff
extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
--- a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h Fri Nov 17
09:16:27 2006 +0000
+++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h Fri Nov 17
09:16:51 2006 +0000
@@ -235,9 +235,9 @@ HYPERVISOR_update_va_mapping(
static inline int
HYPERVISOR_event_channel_op(
- void *op)
-{
- return _hypercall1(int, event_channel_op, op);
+ int cmd, void *op)
+{
+ return _hypercall2(int, event_channel_op, cmd, op);
}
static inline int
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|