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: kernel/inst_native.h

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] pv_ops: kernel/inst_native.h
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Mon, 17 Mar 2008 11:39:45 +0800
Delivery-date: Sun, 16 Mar 2008 20:44:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1205508065.8100.26.camel@lappy>
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>
References: <10EA09EFD8728347A513008B6B0DA77A02E77866@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1205508065.8100.26.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciF5/UZ1ZlBEgPUTkeomiyAOalrFgB9/v8g
Thread-topic: pv_ops: kernel/inst_native.h
Isaku/Alex:
        There is a new file called kernel/inst_native.h to define those
pv MACROs for native. I would suggest we do following changes:
        1: Move it to public head files such as include/asm-ia64 at
least since some other files will use it too.
        2: Further thinking is that how we generate those dual compile
code? If we will use symbol link, then I would suggest we put it in
include/asm-ia64/native. Comments?

        3: How about this style if MACRO?
#define MOV_FROM_CR(reg,crx) \
        mov reg = cr.##crx


        Using this we can reduce the patch size & avoid mistake.

Thx, 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>