:orphan: .. title:: X86_KERNEL_OFFSET .. option:: CONFIG_X86_KERNEL_OFFSET *Kernel offset from beginning of RAM* Type: ``int`` Help ==== A lot of x86 that resemble PCs have many reserved physical memory regions within the first megabyte. Specify an offset from the beginning of RAM to load the kernel in physical memory, avoiding these regions. Note that this does not include the "locore" which contains real mode bootstrap code within the first 64K of physical memory. This value normally need to be page-aligned. Direct dependencies =================== \ :option:`X86 ` *(Includes any dependencies from ifs and menus.)* Default ======= - 1048576 Kconfig definition ================== .. highlight:: kconfig At ``arch/x86/Kconfig:51`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` Menu path: (Top) → X86 Architecture Options .. parsed-literal:: config X86_KERNEL_OFFSET int "Kernel offset from beginning of RAM" default 1048576 depends on \ :option:`X86 ` help A lot of x86 that resemble PCs have many reserved physical memory regions within the first megabyte. Specify an offset from the beginning of RAM to load the kernel in physical memory, avoiding these regions. Note that this does not include the "locore" which contains real mode bootstrap code within the first 64K of physical memory. This value normally need to be page-aligned. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*