diff --git a/src/audio/module_adapter/library/native_system_agent.c b/src/audio/module_adapter/library/native_system_agent.c index 58c24fadf31a..9704da50739e 100644 --- a/src/audio/module_adapter/library/native_system_agent.c +++ b/src/audio/module_adapter/library/native_system_agent.c @@ -19,10 +19,8 @@ typedef void* (*native_create_instance_f)(void *mod_cfg, void *parent_ppl, struct native_system_agent native_sys_agent; -void *native_system_agent_start(uint32_t *sys_service, - uint32_t entry_point, uint32_t module_id, - uint32_t instance_id, uint32_t core_id, uint32_t log_handle, - void *mod_cfg) +void *native_system_agent_start(uint32_t entry_point, uint32_t module_id, uint32_t instance_id, + uint32_t core_id, uint32_t log_handle, void *mod_cfg) { native_sys_agent.module_id = module_id; native_sys_agent.instance_id = instance_id; diff --git a/src/audio/module_adapter/module/modules.c b/src/audio/module_adapter/module/modules.c index 0d491787c644..2d0c6efdc28c 100644 --- a/src/audio/module_adapter/module/modules.c +++ b/src/audio/module_adapter/module/modules.c @@ -100,9 +100,8 @@ static int modules_new(struct processing_module *mod, const void *buildinfo, mod_buildinfo->api_version_number.full == SOF_MODULE_API_CURRENT_VERSION) { /* The module is native: start agent for sof loadable */ mod->is_native_sof = true; - drv->adapter_ops = native_system_agent_start(mod->sys_service, module_entry_point, - module_id, instance_id, - 0, log_handle, &mod_cfg); + drv->adapter_ops = native_system_agent_start(module_entry_point, module_id, + instance_id, 0, log_handle, &mod_cfg); } else { return -ENOEXEC; } diff --git a/src/include/module/module/base.h b/src/include/module/module/base.h index 1f1e3d2a14bb..43765c1da3db 100644 --- a/src/include/module/module/base.h +++ b/src/include/module/module/base.h @@ -183,9 +183,6 @@ struct processing_module { /* flag to insure that module is loadable */ bool is_native_sof; - /* pointer to system services for loadable modules */ - uint32_t *sys_service; - /* total processed data after stream started */ uint64_t total_data_consumed; uint64_t total_data_produced; diff --git a/src/include/sof/audio/module_adapter/library/native_system_agent.h b/src/include/sof/audio/module_adapter/library/native_system_agent.h index 58def6ec67b6..6563ef026975 100644 --- a/src/include/sof/audio/module_adapter/library/native_system_agent.h +++ b/src/include/sof/audio/module_adapter/library/native_system_agent.h @@ -20,8 +20,7 @@ struct native_system_agent { uint32_t module_size; }; -void *native_system_agent_start(uint32_t *sys_service, - uint32_t entry_point, uint32_t module_id, uint32_t instance_id, +void *native_system_agent_start(uint32_t entry_point, uint32_t module_id, uint32_t instance_id, uint32_t core_id, uint32_t log_handle, void *mod_cfg); #endif /* __NATIVE_SYSTEM_AGENT_H__ */