|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] PAE is_guest_l2_slot()
Jan Beulich wrote:
>>>> Gerd Hoffmann <kraxel@xxxxxxx> 12.09.06 16:25 >>>
>> Jan Beulich wrote:
>>> Could anyone help me understand what the meaning of the hardcoded 3 in that
>>> macro is?
>> xen address space window is in l2 table #3 (of 4) ...
>
> That's why I pointed out that the mask is 11 bits (not 2) - what you say
> would mean
> that the constant should be 0x600 (the top 11 bits of such a va), and
> comparison
> should be >= rather than ==.
IIRC the full 11 bits are needed for L1 tables only (2 indexing into L3
and 9 indexing into L2). Has been quite some time I looked into this
code ...
cheers,
Gerd
--
Gerd Hoffmann <kraxel@xxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|