ia64/xen-unstable

changeset 1907:997d615bd58b

bitkeeper revision 1.1108.1.22 (410518962WN2wQjVdY9ca4_URHt00A)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0
author cl349@freefall.cl.cam.ac.uk
date Mon Jul 26 14:43:34 2004 +0000 (2004-07-26)
parents 1a4ae7399519 b2ef8732a70a
children af423aeca402 24ecc060e9d7
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Mon Jul 26 12:57:47 2004 +0000
     1.2 +++ b/xen/arch/x86/domain.c	Mon Jul 26 14:43:34 2004 +0000
     1.3 @@ -695,6 +695,8 @@ int construct_dom0(struct domain *p,
     1.4              mpt_alloc += PAGE_SIZE;
     1.5              *l2tab++ = mk_l2_pgentry((unsigned long)l1start | L2_PROT);
     1.6              clear_page(l1tab);
     1.7 +            if ( count == 0 )
     1.8 +                l1tab += l1_table_offset(v_start);
     1.9          }
    1.10          *l1tab++ = mk_l1_pgentry((mfn << PAGE_SHIFT) | L1_PROT);
    1.11