Skip to content

Commit b840617

Browse files
jxsteltersoftwarecki
authored andcommitted
userspace: Introduce userspace proxy and user worker to service IPC
The non-privileged modules code should be executed in separate thread executed in userspace mode. This way the code and data owned by such module will be isolated from other non-privileged modules in the system. The implementation creates user_work_queue threads that will service all IPC's for all such modules. There are security domains defined that will combines service of IPC's for modules that could exist without isolation (eg. several instances of the same module or modules originating from single vendor). Signed-off-by: Jaroslaw Stelter <Jaroslaw.Stelter@intel.com> Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
1 parent 4367066 commit b840617

4 files changed

Lines changed: 1092 additions & 1 deletion

File tree

src/audio/module_adapter/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ if(zephyr) ### Zephyr ###
4242
library/native_system_service.c
4343
)
4444

45+
if(CONFIG_USERSPACE)
46+
zephyr_library_sources_ifdef(CONFIG_INTEL_MODULES
47+
library/userspace_proxy.c
48+
)
49+
endif()
50+
4551
zephyr_library_sources_ifdef(CONFIG_PASSTHROUGH_CODEC
4652
module/passthrough.c
4753
)

0 commit comments

Comments
 (0)