From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grzegorz Milos Subject: [PATCH] Mini-OS event channel hypercall update Date: Wed, 15 Nov 2006 19:17:11 +0000 Message-ID: <455B67B7.9040802@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020302030400090205010001" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------020302030400090205010001 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Does what is says in the Subject line: Mini-OS event channel hypercall update for 64-bit guests. Signed-off-by: Grzegorz Milos Keir could you apply please? Thanks Gregor --------------020302030400090205010001 Content-Type: text/plain; name="mini-os_hypercall.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mini-os_hypercall.patch" 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 -#include +#include 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 --------------020302030400090205010001 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------020302030400090205010001--