zephyr/arch/x86/include
Daniel Leung ece9cad858 kernel: add CONFIG_SRAM_OFFSET
This adds a new kconfig CONFIG_SRAM_OFFSET to specify the offset
from beginning of SRAM where the kernel begins. On x86 and
PC compatible platforms, the first 1MB of RAM is reserved and
Zephyr should not link anything there. However, this 1MB still
needs to be mapped by the MMU to access various platform related
information. CONFIG_SRAM_OFFSET serves similar function as
CONFIG_KERNEL_VM_OFFSET and is needed for proper phys/virt
address translations.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-02-22 14:55:28 -05:00
..
ia32 x86: rename CONFIG_SSE* to CONFIG_X86_SSE* 2021-02-15 08:21:15 -05:00
intel64 arch/x86: Add NMI registration API 2020-12-10 17:06:17 +02:00
kernel_arch_data.h x86: move some per-cpu initialization to C 2020-01-13 16:35:10 -05:00
kernel_arch_func.h arch/x86: Generalize dynamic irq connection on given vector 2020-12-08 09:29:20 -05:00
offsets_short_arch.h x86: optimize locations of psp and thread ptables 2020-01-13 16:35:10 -05:00
x86_mmu.h kernel: add CONFIG_SRAM_OFFSET 2021-02-22 14:55:28 -05:00