]> xenbits.xensource.com Git - people/royger/xen.git/commit
x86: use trampoline e820 buffer for BIOS interface only
authorJuergen Gross <jgross@suse.com>
Fri, 24 Mar 2017 13:19:24 +0000 (14:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Mar 2017 13:19:24 +0000 (14:19 +0100)
commit9d08107472b87f322103dd0381dba167dab8bf9d
treea2f9a827a14aac328adf2d12d3059bdb01669c5a
parentc0655e492e6b33e26ec9cd33f59725d0db89cdd0
x86: use trampoline e820 buffer for BIOS interface only

Instead of using the E820 raw buffer for BIOS, EFI and multiboot based
memory map information use it for the BIOS interface only. This will
enable us to support more E820 entries than the limited trampoline
located buffer can.

Add a new raw e820 table for common purpose and copy the BIOS buffer
to it. Doing the copying in assembly avoids the need to export the
symbols for the BIOS E820 buffer and number of entries.

Signed-off-by: Juergen Gross <jgross@suse.com>
[jb: eliminate an unneeded local variable]
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/mem.S
xen/arch/x86/e820.c
xen/arch/x86/efi/efi-boot.h
xen/arch/x86/setup.c
xen/include/asm-x86/e820.h