Skip to content
Commit ece9cad8 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent ec21c0b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment