8#ifndef __SOF_LIB_AGENT_H__
9#define __SOF_LIB_AGENT_H__
27#if CONFIG_PERFORMANCE_COUNTERS
static void sa_exit(struct sof *sof)
Teardown the System Agent (no-op stub when CONFIG_HAVE_AGENT is disabled).
Definition agent.h:81
static void sa_set_panic_on_delay(bool enabled)
Configure delay panic behavior (no-op stub when CONFIG_HAVE_AGENT is disabled).
Definition agent.h:87
static void sa_init(struct sof *sof, uint64_t timeout)
Initialize the System Agent (no-op stub when CONFIG_HAVE_AGENT is disabled).
Definition agent.h:75
#define atomic_read(p)
Definition atomic.h:17
Memory attributes, cold/hot execution paths, and platform memory inclusions.
Simple performance counters.
Sound Open Firmware global runtime context.
struct sof * sof_get(void)
Get the global Sound Open Firmware runtime instance pointer.
Definition perf_cnt_data.h:21
struct task work
Definition agent.h:30
bool panic_on_delay
emits panic on delay if true
Definition agent.h:32
atomic_t panic_cnt
ref counter for panic_on_delay property
Definition agent.h:31
uint64_t last_check
Definition agent.h:24
uint64_t panic_timeout
Definition agent.h:25
uint64_t warn_timeout
Definition agent.h:26
General firmware context.
Definition sof.h:50
struct sa * sa
Definition sof.h:61
Core task structure managed by SOF schedulers.
Definition task.h:81
Core task descriptor, task operations, and task execution state machine.