-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module: add support for module unloading
Zephyr added support for extension ref-counting, so now repeated calls to llext_load() simply increment the extension use-count and then an equal number of calls to llext_unload() is needed to unload the extension. Add support for this to SOF. We use the llext unload callback facility to call lib_manager_free_module() although in our case races are impossible because of IPC serialisation. Signed-off-by: Guennadi Liakhovetski <[email protected]>
- Loading branch information
Showing
3 changed files
with
50 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters