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

Re: [Xen-devel] Adding PTE Flag during Page Fault





On 14/4/07 21:50, "Joe Laws" <jlaws@xxxxxxxxxxxxxx> wrote:

> My only other guess is that the l1e defined in the
> function is just a copy of the actual table entry, so I need to look
> back further where l1e was defined.

Well, l1e is a local variable in that function. *l1t points at the actual
page table entry. So you want something like:
 l1e_add_flags(l1e, _PAGE_PRESENT);
 l1e_write_atomic(l1t, l1e);

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel