-
CONFIG_KERNEL_VM_SIZE
¶
Size of kernel address space in bytes
Type: hex
Help¶
Size of the kernel’s address space. Constraining this helps control how much total memory can be used for page tables.
The area defined by SRAM_BASE_ADDRESS to SRAM_BASE_ADDRESS + KERNEL_VM_SIZE must have enough room to map system RAM, plus any driver mappings. Further mappings may be made at runtime depending on configuration options (such as memory-mapping stacks, VDSO pages, etc).
Default¶
0xC0000000
Kconfig definition¶
At <Zephyr>/arch/Kconfig:542
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:29
Menu path: (Top) → Enable MMU features
config KERNEL_VM_SIZE
hex "Size of kernel address space in bytes"
default 0xC0000000
depends on MMU
help
Size of the kernel's address space. Constraining this helps control
how much total memory can be used for page tables.
The area defined by SRAM_BASE_ADDRESS to SRAM_BASE_ADDRESS +
KERNEL_VM_SIZE must have enough room to map system RAM, plus any driver
mappings. Further mappings may be made at runtime depending on
configuration options (such as memory-mapping stacks, VDSO pages, etc).
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)