[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Add ia64 version of evtchn_notify



ChangeSet 1.1713.2.3, 2005/06/17 09:34:00-06:00, djm@xxxxxxxxxxxxxxx

        Add ia64 version of evtchn_notify
        
        Signed-off-by: Matt Chapman <matthewc@xxxxxx>



 asm-ia64/event.h   |    1 +
 public/arch-ia64.h |   26 ++++++++++++++++++--------
 2 files changed, 19 insertions(+), 8 deletions(-)


diff -Nru a/xen/include/asm-ia64/event.h b/xen/include/asm-ia64/event.h
--- a/xen/include/asm-ia64/event.h      2005-06-23 07:03:01 -04:00
+++ b/xen/include/asm-ia64/event.h      2005-06-23 07:03:01 -04:00
@@ -11,6 +11,7 @@
 
 static inline void evtchn_notify(struct vcpu *v)
 {
+       vcpu_pend_interrupt(v, v->vcpu_info->arch.evtchn_vector);
 }
 
 #endif
diff -Nru a/xen/include/public/arch-ia64.h b/xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h    2005-06-23 07:03:01 -04:00
+++ b/xen/include/public/arch-ia64.h    2005-06-23 07:03:01 -04:00
@@ -182,11 +182,11 @@
        unsigned long krs[8];   // kernel registers
        unsigned long pkrs[8];  // protection key registers
        unsigned long tmp[8];   // temp registers (e.g. for hyperprivops)
+       int evtchn_vector;
 //} PACKED arch_vcpu_info_t;
 } arch_vcpu_info_t;            // DON'T PACK 
 
 typedef struct {
-       int evtchn_vector;
        int domain_controller_evtchn;
        unsigned int flags;
 //} PACKED arch_shared_info_t;
@@ -200,12 +200,22 @@
 
 #endif /* !__ASSEMBLY__ */
 
-#define        XEN_HYPER_RFI                   1
-#define        XEN_HYPER_RSM_DT                2
-#define        XEN_HYPER_SSM_DT                3
-#define        XEN_HYPER_COVER                 4
-#define        XEN_HYPER_ITC_D                 5
-#define        XEN_HYPER_ITC_I                 6
-#define        XEN_HYPER_SSM_I                 7
+#define        XEN_HYPER_RFI                   0x1
+#define        XEN_HYPER_RSM_DT                0x2
+#define        XEN_HYPER_SSM_DT                0x3
+#define        XEN_HYPER_COVER                 0x4
+#define        XEN_HYPER_ITC_D                 0x5
+#define        XEN_HYPER_ITC_I                 0x6
+#define        XEN_HYPER_SSM_I                 0x7
+#define        XEN_HYPER_GET_IVR               0x8
+#define        XEN_HYPER_GET_TPR               0x9
+#define        XEN_HYPER_SET_TPR               0xa
+#define        XEN_HYPER_EOI                   0xb
+#define        XEN_HYPER_SET_ITM               0xc
+#define        XEN_HYPER_THASH                 0xd
+#define        XEN_HYPER_PTC_GA                0xe
+#define        XEN_HYPER_ITR_D                 0xf
+#define        XEN_HYPER_GET_RR                0x10
+#define        XEN_HYPER_SET_RR                0x11
 
 #endif /* __HYPERVISOR_IF_IA64_H__ */

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.