app_shmem: auto-initialize partitions
There are no longer per-partition initialization functions. Instead, we iterate over all of them at boot to set up the derived k_mem_partitions properly. Some ARC-specific hacks that should never have been applied have been removed from the userspace test. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
e526a2b80a
commit
c253a686bf
8 changed files with 53 additions and 157 deletions
|
@ -116,7 +116,7 @@
|
|||
#define APP_INPUT_SECTION(sect) *(MAYBE_EXCLUDE_SOME_FILES sect)
|
||||
#define KERNEL_INPUT_SECTION(sect) *(sect)
|
||||
|
||||
#define APP_SMEM_SECTION() KEEP(*(SORT(data_smem_[_a-zA-Z0-9]*)))
|
||||
#define APP_SMEM_SECTION() KEEP(*(SORT("data_smem_*")))
|
||||
|
||||
#ifdef CONFIG_X86 /* LINKER FILES: defines used by linker script */
|
||||
/* Should be moved to linker-common-defs.h */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue