Sound Open Firmware
Loading...
Searching...
No Matches
native_system_agent.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright(c) 2023 Intel Corporation. All rights reserved.
4 *
5 * Author: Pawel Dobrowolski <pawelx.dobrowolski@intel.com>
6 */
7
8#ifndef __NATIVE_SYSTEM_AGENT_H__
9#define __NATIVE_SYSTEM_AGENT_H__
10
13
15 uintptr_t entry_point; /* The module entry point function address. */
16 uint32_t module_id; /* The identifier for the module. */
17 uint32_t instance_id; /* The instance identifier of the module. */
18 uint32_t core_id; /* Core on which the module will run. */
19 uint32_t log_handle; /* The handle for logging purposes. */
20 void *mod_cfg; /* Pointer to the module configuration data. */
21 void *module_bss; /* Base of this module instance's BSS. */
22 size_t module_bss_size; /* Size of this module instance's BSS. */
23};
24
25typedef int (*system_agent_start_fn)(const struct system_agent_params *params,
26 const void **adapter);
27
30 uint32_t log_handle;
31 uint32_t core_id;
32 uint32_t module_id;
33 uint32_t instance_id;
34 uint32_t module_size;
35};
36
48 const void **iface);
49
50#endif /* __NATIVE_SYSTEM_AGENT_H__ */
int(* system_agent_start_fn)(const struct system_agent_params *params, const void **adapter)
Definition native_system_agent.h:25
int native_system_agent_start(const struct system_agent_params *params, const void **iface)
Starts the native system agent.
Definition native_system_agent.h:28
uint32_t module_id
Definition native_system_agent.h:32
uint32_t log_handle
Definition native_system_agent.h:30
uint32_t instance_id
Definition native_system_agent.h:33
uint32_t module_size
Definition native_system_agent.h:34
uint32_t core_id
Definition native_system_agent.h:31
Definition native_system_agent.h:14
uint32_t core_id
Definition native_system_agent.h:18
void * mod_cfg
Definition native_system_agent.h:20
uint32_t log_handle
Definition native_system_agent.h:19
uintptr_t entry_point
Definition native_system_agent.h:15
size_t module_bss_size
Definition native_system_agent.h:22
uint32_t module_id
Definition native_system_agent.h:16
uint32_t instance_id
Definition native_system_agent.h:17
void * module_bss
Definition native_system_agent.h:21
Definition system_service.h:119