-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
ZephyrIssues only observed with Zephyr integratedIssues only observed with Zephyr integratedenhancementNew feature or requestNew feature or request
Milestone
Description
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
FYI @lgirdwood
hongshui3000
Metadata
Metadata
Assignees
Labels
ZephyrIssues only observed with Zephyr integratedIssues only observed with Zephyr integratedenhancementNew feature or requestNew feature or request