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

RE: [Xen-ia64-devel]Question about priv_ptc_e

To: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>
Subject: RE: [Xen-ia64-devel]Question about priv_ptc_e
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Tue, 14 Mar 2006 09:53:45 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Mar 2006 01:55:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcZEJlSU6T2R5rRGTu+t+ruWjttWOgAOn0PwAHbEQUAAJT5UIAAOSgrQ
Thread-topic: [Xen-ia64-devel]Question about priv_ptc_e
>From: Magenheimer, Dan (HP Labs Fort Collins) [mailto:dan.magenheimer@xxxxxx]
>Sent: 2006年3月14日 3:08
>To: Xu, Anthony; Tristan Gingold
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: RE: [Xen-ia64-devel]Question about priv_ptc_e
>
>> Subject: RE: [Xen-ia64-devel]Question about priv_ptc_e
>>
>> Dan,
>> Thanks for your sharing,
>> This will definitely help developers in community greatly.
>>
>> I still have some questions.
>>
>> >into a privileged instruction.  This meant I couldn't
>> >always just use a "break" instruction.
>> I don't understand this, is this because fc has a parameter?
>> But I don't think it is a big deal.
>
>Yes, I had forgotten about that.  FC has a parameter
>so would require 128 different break immediate values
>to encode the full set of possible FC instructions.
>
>But it gets worse:  Several of the privileged instructions
>(e.g. thash) have two parameters, a source and a destination
>register.  Thus to fully encode all possible combinations
>of each of these instructions into break would require
>2**14 break immediate values.
>
Understand.

>> *    mov rx=ar.cflg -> mov ar.cflg=r(x+64) [**]
>> Did you find linux kernel use ar.cflg?
>
>I don't remember whether I included this for completeness
>or if it was necessary if CONFIG_IA32_SUPPORT was
>turned on (which never got implemented in Xen/ia64).
>
>Dan
Thanks,
Anthony

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