linker-defs: add some new _image_* defines
1) start/end addresses for rodata 2) size of image ROM area 3) size of RAM (not including rodata/text) up to the limit of physical memory Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
4e5757d2cc
commit
efee38d458
1 changed files with 12 additions and 1 deletions
|
@ -175,14 +175,25 @@ extern char __app_data_ram_end[];
|
||||||
#endif /* CONFIG_APPLICATION_MEMORY */
|
#endif /* CONFIG_APPLICATION_MEMORY */
|
||||||
#endif /* CONFIG_XIP */
|
#endif /* CONFIG_XIP */
|
||||||
|
|
||||||
/* used by mem_safe subsystem */
|
/* Includes text and rodata */
|
||||||
extern char _image_rom_start[];
|
extern char _image_rom_start[];
|
||||||
extern char _image_rom_end[];
|
extern char _image_rom_end[];
|
||||||
|
extern char _image_rom_size[];
|
||||||
|
|
||||||
|
/* datas, bss, noinit */
|
||||||
extern char _image_ram_start[];
|
extern char _image_ram_start[];
|
||||||
extern char _image_ram_end[];
|
extern char _image_ram_end[];
|
||||||
|
/* Size of all ram starting from _image_ram_start, including unused RAM past
|
||||||
|
* _image_ram_end up to the limit of physical RAM.
|
||||||
|
*/
|
||||||
|
extern char _image_ram_all[];
|
||||||
|
|
||||||
extern char _image_text_start[];
|
extern char _image_text_start[];
|
||||||
extern char _image_text_end[];
|
extern char _image_text_end[];
|
||||||
|
|
||||||
|
extern char _image_rodata_start[];
|
||||||
|
extern char _image_rodata_end[];
|
||||||
|
|
||||||
/* end address of image, used by newlib for the heap */
|
/* end address of image, used by newlib for the heap */
|
||||||
extern char _end[];
|
extern char _end[];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue