debuggers.hg

changeset 3346:2bcd45440fd9

bitkeeper revision 1.1159.1.495 (41c83153JjX7F2rd8qjc9f9JYKcYtw)

Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
author kaf24@scramble.cl.cam.ac.uk
date Tue Dec 21 14:21:07 2004 +0000 (2004-12-21)
parents d263200ffdc3 dc2f08429f17
children 0d35b10c2fec
files xen/arch/x86/x86_32/mm.c
line diff
     1.1 --- a/xen/arch/x86/x86_32/mm.c	Tue Dec 21 14:14:44 2004 +0000
     1.2 +++ b/xen/arch/x86/x86_32/mm.c	Tue Dec 21 14:21:07 2004 +0000
     1.3 @@ -62,7 +62,7 @@ void __init paging_init(void)
     1.4      /* Xen heap mappings can be GLOBAL. */
     1.5      if ( cpu_has_pge )
     1.6      {
     1.7 -        for ( i = 0; i < DIRECTMAP_PHYS_END; i++ )
     1.8 +        for ( i = 0; i < DIRECTMAP_PHYS_END; i += (1 << L2_PAGETABLE_SHIFT) )
     1.9              ((unsigned long *)idle_pg_table)
    1.10                  [(i + PAGE_OFFSET) >> L2_PAGETABLE_SHIFT] |= _PAGE_GLOBAL;
    1.11      }