x86: reduce VM size if ACPI to 1GB

Since physical memory is no longer wholly identity mapped,
it is not needed to set the VM size to be larger than
physical memory size. The VM size was 2GB (max physical
memory size of x86 boards) + 1GB (for memory mappings).
So simply shrink the size to 1GB, as the kernel size is
small and we still have a large chunk of space to do
memory mapping.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-05-27 15:02:53 -07:00 committed by Carles Cufí
commit 253314aabe

View file

@ -236,7 +236,7 @@ config PCIE_MMIO_CFG
IO Port registers. IO Port registers.
config KERNEL_VM_SIZE config KERNEL_VM_SIZE
default 0xC0000000 if ACPI default 0x40000000 if ACPI
config X86_PC_COMPATIBLE config X86_PC_COMPATIBLE
bool bool