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-ia64-devel

[Xen-ia64-devel] pv_ops: intrinsic ops2

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] pv_ops: intrinsic ops2
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Wed, 2 Apr 2008 17:36:35 +0800
Delivery-date: Wed, 02 Apr 2008 02:38:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciUpQsj9eQ2Pz8kRUGeFG3oUr4YgQ==
Thread-topic: pv_ops: intrinsic ops2
In current patch series, we have many definition:

+#define ia64_itci                      ia64_native_itci
+#define ia64_itcd                      ia64_native_itcd
+#define ia64_itri                      ia64_native_itri
+#define ia64_itrd                      ia64_native_itrd
+#define ia64_tpa                       ia64_native_tpa
+#define ia64_set_ibr                   ia64_native_set_ibr
+#define ia64_set_pkr                   ia64_native_set_pkr
+#define ia64_set_pmc                   ia64_native_set_pmc
+#define ia64_set_pmd                   ia64_native_set_pmd
+#define ia64_set_rr                    ia64_native_set_rr
+#define ia64_get_cpuid                 ia64_native_get_cpuid
+#define ia64_get_ibr                   ia64_native_get_ibr
+#define ia64_get_pkr                   ia64_native_get_pkr
+#define ia64_get_pmc                   ia64_native_get_pmc
+#define ia64_get_pmd                   ia64_native_get_pmd



    Which comes from gcc_intrin.h such as:

-#define ia64_itci(addr)        asm volatile ("itc.i %0;;" :: "r"(addr)
: "memory")
+#define ia64_native_itci(addr) asm volatile ("itc.i %0;;" :: "r"(addr)
: "memory")



        The question is we actually don't have xen_itci in the whole
patch, should
we remove the indirect reference of "new
ia64_itci-->ia64_native_itci->old_ia64_itci".
        It is just identical and the change is redunadnt at least for
this moment.

Thanks, eddie

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

<Prev in Thread] Current Thread [Next in Thread>