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

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


  • To: Joe Laws <jlaws@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Sun, 15 Apr 2007 12:05:10 +0100
  • Delivery-date: Sun, 15 Apr 2007 04:04:58 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acd/Te7cLV4fqetBEdugSgAX8io7RQ==
  • Thread-topic: [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


 


Rackspace

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