5 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_ALERT_HANDLER_H_
6 #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_ALERT_HANDLER_H_
20 #include "sw/device/lib/dif/autogen/dif_alert_handler_autogen.h"
31 #define LIST_OF_CLASSES(X) \
42 #define ALERT_CLASS_ENUM_INIT_(class_, value_) \
43 kDifAlertHandlerClass##class_ = value_,
78 #define LIST_OF_LOC_ALERTS(X) \
79 X(kDifAlertHandlerLocalAlertAlertPingFail, 0) \
80 X(kDifAlertHandlerLocalAlertEscalationPingFail, 1) \
81 X(kDifAlertHandlerLocalAlertAlertIntegrityFail, 2) \
82 X(kDifAlertHandlerLocalAlertEscalationIntegrityFail, 3) \
83 X(kDifAlertHandlerLocalAlertBusIntegrityFail, 4) \
84 X(kDifAlertHandlerLocalAlertShadowedUpdateError, 5) \
85 X(kDifAlertHandlerLocalAlertShadowedStorageError, 6)
92 #define LOC_ALERT_ENUM_INIT_(name_, value_) name_ = value_,
353 const dif_alert_handler_t *alert_handler,
377 const dif_alert_handler_t *alert_handler,
400 const dif_alert_handler_t *alert_handler, uint32_t ping_timeout,
419 const dif_alert_handler_t *alert_handler,
dif_toggle_t locked);
466 const dif_alert_handler_t *alert_handler,
479 const dif_alert_handler_t *alert_handler,
497 const dif_alert_handler_t *alert_handler,
510 const dif_alert_handler_t *alert_handler,
527 const dif_alert_handler_t *alert_handler);
538 const dif_alert_handler_t *alert_handler,
bool *is_locked);
578 const dif_alert_handler_t *alert_handler,
591 const dif_alert_handler_t *alert_handler,
608 const dif_alert_handler_t *alert_handler,
622 const dif_alert_handler_t *alert_handler,
637 const dif_alert_handler_t *alert_handler,
659 const dif_alert_handler_t *alert_handler,
678 const dif_alert_handler_t *alert_handler,
693 const dif_alert_handler_t *alert_handler,