boards: x86: fix KERNEL_VM_SIZE for QEMU if ACPI
The default KERNEL_VM_SIZE if ACPI=y is too large for QEMU targets which results in page tables being too big to fit in available memory. So limit the VM size to a more reasonable one. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
fbdf518c0e
commit
e4d8619b87
1 changed files with 10 additions and 1 deletions
|
@ -12,8 +12,17 @@ config FLASH_SIMULATOR
|
||||||
default y
|
default y
|
||||||
depends on FLASH
|
depends on FLASH
|
||||||
|
|
||||||
|
config KERNEL_VM_SIZE
|
||||||
|
default 0x10000000 if ACPI
|
||||||
|
|
||||||
endif # BOARD_QEMU_X86
|
endif # BOARD_QEMU_X86
|
||||||
|
|
||||||
|
if BOARD_QEMU_X86_64
|
||||||
|
|
||||||
config BOARD
|
config BOARD
|
||||||
default "qemu_x86_64"
|
default "qemu_x86_64"
|
||||||
depends on BOARD_QEMU_X86_64
|
|
||||||
|
config KERNEL_VM_SIZE
|
||||||
|
default 0x10000000 if ACPI
|
||||||
|
|
||||||
|
endif # BOARD_QEMU_X86_64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue