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};
22
23typedef int (*system_agent_start_fn)(const struct system_agent_params *params,
24 const void **adapter);
25
28 uint32_t log_handle;
29 uint32_t core_id;
30 uint32_t module_id;
31 uint32_t instance_id;
32 uint32_t module_size;
33};
34
46 const void **iface);
47
48#endif /* __NATIVE_SYSTEM_AGENT_H__ */
int(* system_agent_start_fn)(const struct system_agent_params *params, const void **adapter)
Definition native_system_agent.h:23
int native_system_agent_start(const struct system_agent_params *params, const void **iface)
Starts the native system agent.
Definition native_system_agent.h:26
struct system_service system_service
Definition native_system_agent.h:27
uint32_t module_id
Definition native_system_agent.h:30
uint32_t log_handle
Definition native_system_agent.h:28
uint32_t instance_id
Definition native_system_agent.h:31
uint32_t module_size
Definition native_system_agent.h:32
uint32_t core_id
Definition native_system_agent.h:29
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
uint32_t module_id
Definition native_system_agent.h:16
uint32_t instance_id
Definition native_system_agent.h:17