linker-defs: add syms for kernel image bounds

These are needed on MMU systems and define where the kernel
image resides in virtual memory at boot so that it may be
memory-mapped.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2020-12-10 12:33:12 -08:00 committed by Anas Nashif
commit 5791434ee5

View file

@ -182,6 +182,13 @@ extern char __data_ram_start[];
extern char __data_ram_end[];
#endif /* CONFIG_XIP */
#ifdef CONFIG_MMU
/* Virtual addresses of page-aligned kernel image mapped into RAM at boot */
extern char z_mapped_start[];
extern char z_mapped_end[];
extern char z_mapped_size[];
#endif /* CONFIG_MMU */
/* Includes text and rodata */
extern char _image_rom_start[];
extern char _image_rom_end[];