From bcc8731efe65f9184cc46edcbbf79771759b8d84 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Oct 2013 19:00:40 +0100 Subject: patches to support booting from my grub --- xen/arch/x86/boot/x86_64.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xen/arch/x86/boot/x86_64.S') diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S index 8f92402982..c78bd9fd58 100644 --- a/xen/arch/x86/boot/x86_64.S +++ b/xen/arch/x86/boot/x86_64.S @@ -132,11 +132,10 @@ GLOBAL(__page_tables_start) GLOBAL(l2_identmap) .quad sym_phys(l1_identmap) + __PAGE_HYPERVISOR pfn = 0 - .rept 7 + .rept 4 * L2_PAGETABLE_ENTRIES - 1 pfn = pfn + (1 << PAGETABLE_ORDER) .quad (pfn << PAGE_SHIFT) | PAGE_HYPERVISOR | _PAGE_PSE .endr - .fill 4 * L2_PAGETABLE_ENTRIES - 8, 8, 0 .size l2_identmap, . - l2_identmap GLOBAL(l2_xenmap) -- cgit v1.2.3