Skip to contentSkip to conversation

Mini-OS event channel hypercall update

PATCH New Grzegorz Milos 1 participant 1 message Nov 15, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Mini-OS event channel hypercall update

Does what is says in the Subject line:

Mini-OS event channel hypercall update for 64-bit guests.

Keir could you apply please?

Thanks
Gregor

extras/mini-os/Makefile +5 -1
diff -r 535cba1ae7c6 -r 8ed53f24279e extras/mini-os/Makefile
@@ -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
extras/mini-os/include/events.h +1 -1
diff -r 535cba1ae7c6 -r 8ed53f24279e extras/mini-os/include/events.h
@@ -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 *);
 
extras/mini-os/include/x86/x86_64/hypercall-x86_64.h +3 -3
diff -r 535cba1ae7c6 -r 8ed53f24279e extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel