Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | # SPDX-License-Identifier: Apache-2.0
if BOARD_QEMU_X86
config BUILD_OUTPUT_BIN
default n
config BOARD
default "qemu_x86"
config FLASH_SIMULATOR
default y
depends on FLASH
config KERNEL_VM_SIZE
default 0x10000000 if ACPI
config MULTIBOOT
default y
config MULTIBOOT_INFO
default y if MULTIBOOT
config MULTIBOOT_MEMMAP
default y if MULTIBOOT
config QEMU_ICOUNT
default n if HPET_TIMER && SHELL
config QEMU_ICOUNT_SHIFT
default 5
endif # BOARD_QEMU_X86
if BOARD_QEMU_X86_64
config BOARD
default "qemu_x86_64"
config KERNEL_VM_SIZE
default 0x10000000 if ACPI
endif # BOARD_QEMU_X86_64
if BOARD_QEMU_X86_LAKEMONT
config BUILD_OUTPUT_BIN
default n
config BOARD
default "qemu_x86_lakemont"
config KERNEL_VM_SIZE
default 0x400000
config MULTIBOOT
# This is needed for QEMU to load the ELF image
default y
config X86_PC_COMPATIBLE
# QEMU presents a PC-compatible machine
default y
config QEMU_ICOUNT
default n if HPET_TIMER && SHELL
config QEMU_ICOUNT_SHIFT
default 5
endif # BOARD_QEMU_X86_LAKEMONT
if BOARD_QEMU_X86_TINY
config BUILD_OUTPUT_BIN
default n
config BOARD
default "qemu_x86_tiny"
config KERNEL_VM_SIZE
default 0x400000
config MULTIBOOT
# This is needed for QEMU to load the ELF image
default y
config X86_PC_COMPATIBLE
# QEMU presents a PC-compatible machine
default y
config QEMU_ICOUNT
default n if HPET_TIMER && SHELL
config QEMU_ICOUNT_SHIFT
default 5
config HAVE_CUSTOM_LINKER_SCRIPT
default y
config CUSTOM_LINKER_SCRIPT
default "${ZEPHYR_BASE}/boards/x86/qemu_x86/qemu_x86_tiny.ld"
config X86_EXTRA_PAGE_TABLE_PAGES
# This is needed for gen_mmu.py to map the flash into memory
default 2 if DEMAND_PAGING && !LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT
config DEMAND_PAGING_PAGE_FRAMES_RESERVE
# Need to accommodate the heap for newlib in libc-hook.c
default 6 if NEWLIB_LIBC
endif # BOARD_QEMU_X86_TINY
|