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 to frametable_miss()

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Question to frametable_miss()
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Wed, 20 Jun 2007 11:44:00 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 19 Jun 2007 19:42:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200706191555.40995.dietmar.hahn@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>
References: <200706191555.40995.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Dietmar,

I wrote this code. 
There is no speical reason except for my debugging.
Currently the value should be 0.
If Xen uses protection keys, the value must follow it too.

Thanks,
Kouya

Dietmar Hahn writes:
 > Hi,
 > 
 > currently I'am looking at the code to bring in protection key support in xen 
 > and found the following lines in arch/ia64/xen/ivt.S within the  function
 > GLOBAL_ENTRY(frametable_miss)
 > ....
 > mov r25=0x700|(PAGE_SHIFT<<2) // key=7
 > ...
 > mov cr.itir=r25
 > 
 > What is the sense of the 0x700 ? Currently Xen doesn't use protection keys.
 > So why is this explicitly set here?
 > Many thanks for any hints!
 > 
 > Dietmar.
 > 
 > _______________________________________________
 > Xen-ia64-devel mailing list
 > Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
 > http://lists.xensource.com/xen-ia64-devel

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

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