debuggers.hg
changeset 4665:b18e67c57942
bitkeeper revision 1.1361 (42680a63VNdw2vcBm5FrW2nhMZ_Ovw)
Fix another bug introduced in the shadow code with the new page table entry macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
Fix another 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 20:17:39 2005 +0000 (2005-04-21) |
parents | 8ae284c9743c |
children | 744349042cd0 |
files | xen/arch/x86/shadow.c |
line diff
1.1 --- a/xen/arch/x86/shadow.c Thu Apr 21 19:14:36 2005 +0000 1.2 +++ b/xen/arch/x86/shadow.c Thu Apr 21 20:17:39 2005 +0000 1.3 @@ -2456,7 +2456,7 @@ int shadow_fault(unsigned long va, struc 1.4 * STEP 2. Check the guest PTE. 1.5 */ 1.6 __guest_get_l2e(ed, va, &gpde); 1.7 - if ( unlikely(!(l1e_get_flags(gpte) & _PAGE_PRESENT)) ) 1.8 + if ( unlikely(!(l2e_get_flags(gpde) & _PAGE_PRESENT)) ) 1.9 { 1.10 SH_VVLOG("shadow_fault - EXIT: L1 not present" ); 1.11 perfc_incrc(shadow_fault_bail_pde_not_present);