File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
tools/rimage/src/include/rimage/sof/user Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1010{ \
1111 .module = { \
1212 .name = manifest_name, \
13- .uuid = {mod_uuid}, \
13+ .uuid = {mod_uuid}, \
1414 .entry_point = (uint32_t)(entry), \
1515 .instance_max_count = instances, \
1616 .type = { \
2121 } \
2222}
2323
24+ #define SOF_LLEXT_AUX_MANIFEST (manifest_name , entry , mod_uuid ) \
25+ { \
26+ .module = { \
27+ .name = manifest_name, \
28+ .uuid = {mod_uuid}, \
29+ .entry_point = (uint32_t)(entry), \
30+ .type = { \
31+ .load_type = SOF_MAN_MOD_TYPE_LLEXT_AUX, \
32+ }, \
33+ } \
34+ }
35+
2436#define SOF_LLEXT_MOD_ENTRY (name , interface ) \
2537static const struct module_interface *name##_llext_entry(void *mod_cfg, \
2638 void *parent_ppl, void **mod_ptr) \
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ struct comp_ipc_config;
1818
1919static inline bool module_is_llext (const struct sof_man_module * mod )
2020{
21- return mod -> type .load_type == SOF_MAN_MOD_TYPE_LLEXT ;
21+ return mod -> type .load_type == SOF_MAN_MOD_TYPE_LLEXT ||
22+ mod -> type .load_type == SOF_MAN_MOD_TYPE_LLEXT_AUX ;
2223}
2324
2425uintptr_t llext_manager_allocate_module (struct processing_module * proc ,
Original file line number Diff line number Diff line change 2626#define SOF_MAN_MOD_TYPE_BUILTIN 0
2727#define SOF_MAN_MOD_TYPE_MODULE 1
2828#define SOF_MAN_MOD_TYPE_LLEXT 2 /* Zephyr LLEXT-style dynamically linked */
29+ #define SOF_MAN_MOD_TYPE_LLEXT_AUX 3 /* Zephyr LLEXT-style dynamically linked auxiliary */
2930
3031/* module init config */
3132#define SOF_MAN_MOD_INIT_CONFIG_BASE_CFG 0 /* Base config only */
You can’t perform that action at this time.
0 commit comments