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>
21#include <module/module/interface.h>
24struct module_interface;
30struct userspace_context {
31 struct k_mem_domain *comp_dom;
32 const struct module_interface *interface;
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,
57 const void **agent_interface,
const struct module_interface **ops);
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);
int(* system_agent_start_fn)(const struct system_agent_params *params, const void **adapter)
Definition native_system_agent.h:23
Audio component base driver "class".
Definition component.h:587
Definition native_system_agent.h:14