]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
Revert "x86/boot: Map more than the first 16MB"
authorWei Liu <wei.liu2@citrix.com>
Wed, 17 Jan 2018 19:47:05 +0000 (19:47 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 23 Jan 2018 18:00:02 +0000 (18:00 +0000)
This reverts commit 7d6f958d9d18c54017f5ef6e299a08037f035747.

Now we have PVH info relocation support, this change is no longer
needed.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/x86_64.S

index 42636cf334baf61c19171d97124879123b3fde9d..cf47e019f5c0599996fc8ea5da85ffd2a78f2f75 100644 (file)
@@ -114,10 +114,11 @@ GLOBAL(__page_tables_start)
 GLOBAL(l2_identmap)
         .quad sym_offs(l1_identmap) + __PAGE_HYPERVISOR
         idx = 1
-        .rept 4 * L2_PAGETABLE_ENTRIES - 1
+        .rept 7
         .quad (idx << L2_PAGETABLE_SHIFT) | PAGE_HYPERVISOR | _PAGE_PSE
         idx = idx + 1
         .endr
+        .fill 4 * L2_PAGETABLE_ENTRIES - 8, 8, 0
         .size l2_identmap, . - l2_identmap
 
 /*