9#ifndef __SOF_AUDIO_USERSPACE_PROXY_H__
10#define __SOF_AUDIO_USERSPACE_PROXY_H__
16#include <zephyr/kernel.h>
17#include <zephyr/app_memory/app_memdomain.h>
30struct userspace_context {
31 struct k_mem_domain *comp_dom;
33 struct user_work_item *work_item;
34 struct k_event *dp_event;
38#if CONFIG_SOF_USERSPACE_PROXY
54int userspace_proxy_create(
struct userspace_context **user_ctx,
const struct comp_driver *drv,
65void userspace_proxy_destroy(
const struct comp_driver *drv,
struct userspace_context *user_ctx);
67#if IS_ENABLED(CONFIG_SOF_USERSPACE_MOD_IPC_BY_DP_THREAD)
78struct k_work_user *userspace_proxy_register_ipc_handler(
struct processing_module *mod,
79 struct k_event *event);
Dynamic module interface, lifecycle callbacks, and buffer contracts.
int(* system_agent_start_fn)(const struct system_agent_params *params, const void **adapter)
Definition native_system_agent.h:25
Audio component base driver "class".
Definition component.h:528
3rd party processing module interface
Definition interface.h:102
Definition native_system_agent.h:14