[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-ia64-devel] Question to frametable_miss()
- To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
- From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jun 2007 07:06:55 +0200
- Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 19 Jun 2007 22:07:24 -0700
- Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=0T7UHM2xkUdBrtUv4apXRo1xfKqJPFywuQwmpO4d5ngwNnDB3E1BTO1Q77K4RSq9nHbwtvAu3Hu9N75OgsBrVez4bVVNNkZgG0HM3YexZddbz3pc8Rg66Tj4GFEChIqh;
- List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
Hi Kouya,
Am Mittwoch, 20. Juni 2007 schrieb Kouya Shimura:
> 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.
I already thought in this direction.
Many thanks.
Dietmar.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel