ia64/xen-unstable

changeset 4625:43d58d3eeaa5

bitkeeper revision 1.1359 (4267fb77Hyv3hRzHLAvCoA2BMyz59A)

Fix bug introduced in the shadow code with the new page table entry macros.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
author maf46@burn.cl.cam.ac.uk
date Thu Apr 21 19:13:59 2005 +0000 (2005-04-21)
parents 9a768d11cc7b
children 8ae284c9743c
files xen/arch/x86/shadow.c
line diff
     1.1 --- a/xen/arch/x86/shadow.c	Thu Apr 21 17:39:45 2005 +0000
     1.2 +++ b/xen/arch/x86/shadow.c	Thu Apr 21 19:13:59 2005 +0000
     1.3 @@ -2387,7 +2387,7 @@ void __shadow_sync_all(struct domain *d)
     1.4          l1_pgentry_t *ppte = map_domain_mem(entry->writable_pl1e);
     1.5          l1_pgentry_t opte = *ppte;
     1.6          l1_pgentry_t npte = opte;
     1.7 -        l1e_remove_flags(&opte, _PAGE_RW);
     1.8 +        l1e_remove_flags(&npte, _PAGE_RW);
     1.9  
    1.10          if ( (l1e_get_flags(npte) & _PAGE_PRESENT) &&
    1.11               !shadow_get_page_from_l1e(npte, d) )