direct-io.hg

changeset 15391:fe3df33e2761

32-on-64: First slot of hidden L4 page directory must start life as zero.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Jun 20 13:39:54 2007 +0100 (2007-06-20)
parents 69658f935cc7
children ea52a66e43a8
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Wed Jun 20 13:38:48 2007 +0100
     1.2 +++ b/xen/arch/x86/domain.c	Wed Jun 20 13:39:54 2007 +0100
     1.3 @@ -239,6 +239,7 @@ static int setup_compat_l4(struct vcpu *
     1.4      pg->u.inuse.type_info = PGT_l4_page_table|PGT_validated;
     1.5  
     1.6      l4tab = copy_page(page_to_virt(pg), idle_pg_table);
     1.7 +    l4tab[0] = l4e_empty();
     1.8      l4tab[l4_table_offset(LINEAR_PT_VIRT_START)] =
     1.9          l4e_from_page(pg, __PAGE_HYPERVISOR);
    1.10      l4tab[l4_table_offset(PERDOMAIN_VIRT_START)] =