From 4be1e6913c8b459a7a2d02166315c0360ae65a38 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Wed, 18 Sep 2024 18:28:31 +0300 Subject: [PATCH] xtos: move sof/lib/agent.h to application interface The SOF agent.h interface is a system agent that is implemented on top of SOF audio task scheduling interface. An agent task is added to the low-latency scheduler to monitor health of the system. The current implementation is actually RTOS agnostic and can run on top of both Zephyr and XTOS. Some RTOSes offer a lower level watchdog interface to implement system monitoring. Previously agent.h was considered as the abstraction point, onto which RTOS specific implementations can be hooked in. This patch moves agent.h back to application interface. In the future, a more low-level agent hooking into a watchdog system (either hardware watchdog directly, or software abstraction like Zephyr's task_wdt) can be added on the side, and enabled on a per target basis. The audio scheduler level SOF agent will continue to be available as an option, and can be used with all RTOS'es. Link: https://github.com/thesofproject/sof/issues/9015 Signed-off-by: Kai Vehmanen --- {xtos => src}/include/sof/lib/agent.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {xtos => src}/include/sof/lib/agent.h (100%) diff --git a/xtos/include/sof/lib/agent.h b/src/include/sof/lib/agent.h similarity index 100% rename from xtos/include/sof/lib/agent.h rename to src/include/sof/lib/agent.h