|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Add arch-dep notification hook (per discussion on xen-de
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 <=
|
|
|
|
|