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-changelog

[Xen-changelog] Add arch-dep notification hook (per discussion on xen-de

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add arch-dep notification hook (per discussion on xen-devel)
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 16 Jun 2005 19:28:44 +0000
Delivery-date: Sun, 19 Jun 2005 18:04:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1709.1.16, 2005/06/16 13:28:44-06:00, djm@xxxxxxxxxxxxxxx

        Add arch-dep notification hook (per discussion on xen-devel)
        needed for ia64 and VTi/x.
        Signed-off-by: Matt Chapman <matthewc@xxxxxx>



 asm-ia64/event.h |   16 ++++++++++++++++
 asm-x86/event.h  |   16 ++++++++++++++++
 xen/event.h      |    2 ++
 3 files changed, 34 insertions(+)


diff -Nru a/xen/include/asm-ia64/event.h b/xen/include/asm-ia64/event.h
--- /dev/null   Wed Dec 31 16:00:00 196900
+++ b/xen/include/asm-ia64/event.h      2005-06-19 14:05:40 -04:00
@@ -0,0 +1,16 @@
+/******************************************************************************
+ * event.h
+ *
+ * A nice interface for passing asynchronous events to guest OSes.
+ * (architecture-dependent part)
+ *
+ */
+
+#ifndef __ASM_EVENT_H__
+#define __ASM_EVENT_H__
+
+static inline void evtchn_notify(struct vcpu *v)
+{
+}
+
+#endif
diff -Nru a/xen/include/asm-x86/event.h b/xen/include/asm-x86/event.h
--- /dev/null   Wed Dec 31 16:00:00 196900
+++ b/xen/include/asm-x86/event.h       2005-06-19 14:05:40 -04:00
@@ -0,0 +1,16 @@
+/******************************************************************************
+ * event.h
+ *
+ * A nice interface for passing asynchronous events to guest OSes.
+ * (architecture-dependent part)
+ *
+ */
+
+#ifndef __ASM_EVENT_H__
+#define __ASM_EVENT_H__
+
+static inline void evtchn_notify(struct vcpu *v)
+{
+}
+
+#endif
diff -Nru a/xen/include/xen/event.h b/xen/include/xen/event.h
--- a/xen/include/xen/event.h   2005-06-19 14:05:40 -04:00
+++ b/xen/include/xen/event.h   2005-06-19 14:05:40 -04:00
@@ -13,6 +13,7 @@
 #include <xen/sched.h>
 #include <xen/smp.h>
 #include <asm/bitops.h>
+#include <asm/event.h>
 
 /*
  * EVENT-CHANNEL NOTIFICATIONS
@@ -34,6 +35,7 @@
     {
         /* The VCPU pending flag must be set /after/ update to evtchn-pend. */
         set_bit(0, &v->vcpu_info->evtchn_upcall_pending);
+        evtchn_notify(v);
 
         /*
          * NB1. 'vcpu_flags' and 'processor' must be checked /after/ update of

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add arch-dep notification hook (per discussion on xen-devel), BitKeeper Bot <=