direct-io.hg
changeset 3393:4136a5dc787a
bitkeeper revision 1.1159.212.13 (41df3794swb64JdEQfvPveHTBypSAg)
Revert bogus shadow mode 'fix'.
Revert bogus shadow mode 'fix'.
author | iap10@labyrinth.cl.cam.ac.uk |
---|---|
date | Sat Jan 08 01:29:56 2005 +0000 (2005-01-08) |
parents | 5ed334ff11f0 |
children | a4621fab44b4 |
files | xen/arch/x86/shadow.c |
line diff
1.1 --- a/xen/arch/x86/shadow.c Fri Jan 07 23:13:05 2005 +0000 1.2 +++ b/xen/arch/x86/shadow.c Sat Jan 08 01:29:56 2005 +0000 1.3 @@ -539,10 +539,10 @@ static void shadow_map_l1_into_current_l 1.4 __shadow_set_pl2e(m, va, spl2e); 1.5 1.6 gpl1e = (unsigned long *) &(linear_pg_table[ 1.7 - (va>>L1_PAGETABLE_SHIFT) & (ENTRIES_PER_L1_PAGETABLE-1)]); 1.8 + (va>>L1_PAGETABLE_SHIFT) & ~(ENTRIES_PER_L1_PAGETABLE-1)]); 1.9 1.10 spl1e = (unsigned long *) &(shadow_linear_pg_table[ 1.11 - (va>>L1_PAGETABLE_SHIFT) & (ENTRIES_PER_L1_PAGETABLE-1)]); 1.12 + (va>>L1_PAGETABLE_SHIFT) & ~(ENTRIES_PER_L1_PAGETABLE-1)]); 1.13 1.14 for ( i = 0; i < ENTRIES_PER_L1_PAGETABLE; i++ ) 1.15 l1pte_propagate_from_guest(m, &gpl1e[i], &spl1e[i]);