[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] Question to frametable_miss()



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.