Expand description
Platform abstraction layer for watchdog timer devices.
This module defines the interface between generic watchdog device implementations (like UEFI watchdog) and the specific host environment where they run (OpenVMM, OpenHCL, etc). The abstraction allows watchdog devices to remain platform-agnostic while enabling each platform to handle timeouts appropriately - whether that’s logging, generating crash dumps, resetting VMs, or sending interrupts.
The key traits are:
WatchdogCallback
: Implement this to define custom timeout behaviorWatchdogPlatform
: The interface that watchdog devices use to handle timeouts
Structs§
- Base
Watchdog Platform - A base implementation of
WatchdogPlatform
, used by OpenVMM and OpenHCL.
Traits§
- Watchdog
Callback - Trait for responding to watchdog timeouts.
- Watchdog
Platform - Defines the watchdog platform interface.