WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Mini-OS event channel hypercall update

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Mini-OS event channel hypercall update
From: Grzegorz Milos <gm281@xxxxxxxxx>
Date: Wed, 15 Nov 2006 19:17:11 +0000
Delivery-date: Wed, 15 Nov 2006 11:17:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20051025)
Does what is says in the Subject line:

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

Signed-off-by: Grzegorz Milos <gm281@xxxxxxxxx>

Keir could you apply please?

Thanks
Gregor
diff -r 535cba1ae7c6 -r 8ed53f24279e extras/mini-os/Makefile
--- a/extras/mini-os/Makefile   Wed Nov 15 16:24:03 2006 +0000
+++ b/extras/mini-os/Makefile   Wed Nov 15 16:27:37 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 535cba1ae7c6 -r 8ed53f24279e extras/mini-os/include/events.h
--- a/extras/mini-os/include/events.h   Wed Nov 15 16:24:03 2006 +0000
+++ b/extras/mini-os/include/events.h   Wed Nov 15 16:27:37 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 535cba1ae7c6 -r 8ed53f24279e 
extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
--- a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h      Wed Nov 15 
16:24:03 2006 +0000
+++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h      Wed Nov 15 
16:27:37 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Mini-OS event channel hypercall update, Grzegorz Milos <=