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

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Question to frametable_miss()
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Jun 2007 15:55:40 +0200
Delivery-date: Tue, 19 Jun 2007 07:13:37 -0700
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=XeFf+MiTFc/GQf8N2Y+LesGp2v+P3xQV37oT71gE5zbQdK5f/wyKQTaaRKQXnv6KKgHhuPt2RcQgtG4VE2PJ1aHuVpMLcXMnukK3s4e5BSaMKhtDFQbubRRrE+JlqkrX;
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
User-agent: KMail/1.9.6
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

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