All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grzegorz Milos <gm281@cam.ac.uk>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] Mini-OS event channel hypercall update
Date: Wed, 15 Nov 2006 19:17:11 +0000	[thread overview]
Message-ID: <455B67B7.9040802@cam.ac.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Does what is says in the Subject line:

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

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>

Keir could you apply please?

Thanks
Gregor

[-- Attachment #2: mini-os_hypercall.patch --]
[-- Type: text/plain, Size: 1523 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

                 reply	other threads:[~2006-11-15 19:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=455B67B7.9040802@cam.ac.uk \
    --to=gm281@cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.