oem-ampere: eventManager: Handle Watchdog sensor event
Handle `SoC Watchdog` status Sensor Event in Ampere's OemEventManager
class.
Change-Id: I8f74a5cf1209d81750103588bd1eff9388a668bd
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
diff --git a/oem/ampere/event/oem_event_manager.hpp b/oem/ampere/event/oem_event_manager.hpp
index da56954..521a16b 100644
--- a/oem/ampere/event/oem_event_manager.hpp
+++ b/oem/ampere/event/oem_event_manager.hpp
@@ -32,6 +32,7 @@
PCIE_HOT_PLUG = 169,
SOC_HEALTH_AVAILABILITY = 170,
BOOT_OVERALL = 175,
+ WATCH_DOG = 179,
};
namespace boot
@@ -332,6 +333,15 @@
void handleVRDStatusEvent(pldm_tid_t tid, uint16_t sensorId,
uint32_t presentReading);
+ /** @brief Handle numeric sensor event message from Watchdog status sensor.
+ *
+ * @param[in] tid - TID
+ * @param[in] sensorId - Sensor ID
+ * @param[in] presentReading - the present reading of the sensor
+ */
+ void handleNumericWatchdogEvent(pldm_tid_t tid, uint16_t sensorId,
+ uint32_t presentReading);
+
/** @brief Handle numeric sensor event messages.
*
* @param[in] tid - TID