WARNING - OLD ARCHIVES

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

xen-devel

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

To: Joe Laws <jlaws@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Adding PTE Flag during Page Fault
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46213E8E.7070703@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acd/Te7cLV4fqetBEdugSgAX8io7RQ==
Thread-topic: [Xen-devel] Adding PTE Flag during Page Fault
User-agent: Microsoft-Entourage/11.3.3.061214


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