From: Andrew Cooper Date: Wed, 22 Nov 2017 11:39:04 +0000 (+0000) Subject: x86/boot: Map more than the first 16MB X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~807 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7d6f958d9d18c54017f5ef6e299a08037f035747;p=xen.git x86/boot: Map more than the first 16MB TODO: Replace somehow (bootstrap_map() ?) Signed-off-by: Andrew Cooper --- diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S index cf47e019f5..42636cf334 100644 --- a/xen/arch/x86/boot/x86_64.S +++ b/xen/arch/x86/boot/x86_64.S @@ -114,11 +114,10 @@ GLOBAL(__page_tables_start) GLOBAL(l2_identmap) .quad sym_offs(l1_identmap) + __PAGE_HYPERVISOR idx = 1 - .rept 7 + .rept 4 * L2_PAGETABLE_ENTRIES - 1 .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 /*