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

x86: use CONFIG_SRAM_OFFSET instead of CONFIG_X86_KERNEL_OFFSET



This changes x86 to use CONFIG_SRAM_OFFSET instead of
arch-specific CONFIG_X86_KERNEL_OFFSET. This allows the common
MMU macro Z_BOOT_VIRT_TO_PHYS() and Z_BOOT_PHYS_TO_VIRT() to
function properly if we ever need to map the kernel into
virtual address space that does not have the same starting
physical address.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent ece9cad8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment