You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Implement module_init in Zephyr builds #5406
Is your feature request related to a problem? Please describe.
With Zephyr builds, each module init needs to be called separately.
In XTOS builds we have:
• With XTOS builds, we use sof/src/include/sof/audio/component.h
#define DECLARE_MODULE(init) attribute((used))
» __section(".module_init") static void(*f##init)(void) = init
• And then sof/src/schedule/task.c:sys_module_init() makes the calls based on linker data
Describe the solution you'd like
Solution aligned with Zephyr where each module init call doesn't have to be added to wrapper.c
Activity
lgirdwood commentedon Feb 23, 2022
@mwasko @mmaka1 @marcinszkudlinski fyi.
kv2019i commentedon Jan 26, 2023
Implemented in #6989