From 3d83912b046fca4710bb7e1034419215350d403b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 31 Jan 2011 11:36:42 +0100 Subject: Enable pae_extended_cr3 in pmap_bootstrap * i386/i386/gdt.c (gdt_init): Do not enable VMASST_TYPE_pae_extended_cr3. * i386/intel/pmap.c (pmap_bootstrap): Enable VMASST_TYPE_pae_extended_cr3. --- i386/intel/pmap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'i386/intel') diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index 3ee6338..f5df8a4 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -654,6 +654,8 @@ void pmap_bootstrap() } #ifdef MACH_XEN + /* We don't actually deal with the CR3 register content at all */ + hyp_vm_assist(VMASST_CMD_enable, VMASST_TYPE_pae_extended_cr3); /* * Xen may only provide as few as 512KB extra bootstrap linear memory, * which is far from enough to map all available memory, so we need to -- cgit v1.2.3