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/
Home Products Support Community News


Re: [Xen-devel] Page table and memory management

On 3 Mar 2005, at 22:00, Richard wrote:

So I do not see where XEN is automatically inferring the L1 type when
I am inserting for the 1st time the L1 page frame into the L2. In
order to use a page frame as an L1 page table, I have to find a way to
tell XEN to update the corresponding typeinfo field in order to pass
the verification in get_page_type().

get_page_from_l2e() will do a get_page_type() on your new page, asserting type PGT_l1_pagetable. If the page was previously untyped or was already an L1 pagetable then the call will succeed, else it will fail.

 -- Keir

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list