x86: fix app shared memory if XIP enabled
This is a separate data section which needs to be copied into RAM. Most arches just use the kernel's _data_copy(), but x86 has its own optimized copying code. Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com> Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
8bfd8457ea
commit
9bebf4cb23
3 changed files with 10 additions and 0 deletions
|
@ -167,6 +167,7 @@ extern char _app_smem_start[];
|
|||
extern char _app_smem_end[];
|
||||
extern char _app_smem_size[];
|
||||
extern char _app_smem_rom_start[];
|
||||
extern char _app_smem_num_words[];
|
||||
|
||||
#ifdef CONFIG_APPLICATION_MEMORY
|
||||
/* Memory owned by the application. Start and end will be aligned for memory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue