From: Keir Fraser Subject: Re: Adding PTE Flag during Page Fault Date: Sun, 15 Apr 2007 12:05:10 +0100 Message-ID: References: <46213E8E.7070703@andrew.cmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46213E8E.7070703@andrew.cmu.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Joe Laws , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 14/4/07 21:50, "Joe Laws" 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