direct-io.hg

changeset 4323:dfc37b282730

bitkeeper revision 1.1159.258.68 (4244133awyHq01j9R23NzaSBfEq5Dg)

Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-2.0-testing.bk-clean
author cl349@firebug.cl.cam.ac.uk
date Fri Mar 25 13:33:46 2005 +0000 (2005-03-25)
parents 9ed41e2d2347 a9e4513f012c
children 51b277b0371a cdbbf0845b2c 04226a1b141c
files xen/arch/x86/memory.c
line diff
     1.1 --- a/xen/arch/x86/memory.c	Fri Mar 25 11:41:40 2005 +0000
     1.2 +++ b/xen/arch/x86/memory.c	Fri Mar 25 13:33:46 2005 +0000
     1.3 @@ -1765,6 +1765,11 @@ void ptwr_flush(const int which)
     1.4                     (ENTRIES_PER_L1_PAGETABLE - i) * sizeof(l1_pgentry_t));
     1.5              unmap_domain_mem(pl1e);
     1.6              ptwr_info[cpu].ptinfo[which].l1va = 0;
     1.7 +            if ( (which == PTWR_PT_ACTIVE) && likely(!d->mm.shadow_mode) )
     1.8 +            {
     1.9 +                pl2e = &linear_l2_table[ptwr_info[cpu].ptinfo[which].l2_idx];
    1.10 +                *pl2e = mk_l2_pgentry(l2_pgentry_val(*pl2e) | _PAGE_PRESENT); 
    1.11 +            }
    1.12              domain_crash();
    1.13          }
    1.14