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 ia64 version of evtchn_notify

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add ia64 version of evtchn_notify
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Fri, 17 Jun 2005 15:34:00 +0000
Cc: james@xxxxxxxxxxxxx
Delivery-date: Thu, 23 Jun 2005 11:01:51 +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.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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add ia64 version of evtchn_notify, BitKeeper Bot <=