Commit e4d8619b authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent fbdf518c
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -12,8 +12,17 @@ config FLASH_SIMULATOR
	default y
	depends on FLASH

config KERNEL_VM_SIZE
	default 0x10000000 if ACPI

endif # BOARD_QEMU_X86

if BOARD_QEMU_X86_64

config BOARD
	default "qemu_x86_64"
	depends on BOARD_QEMU_X86_64

config KERNEL_VM_SIZE
	default 0x10000000 if ACPI

endif # BOARD_QEMU_X86_64