Module platform

Source
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:

Structs§

BaseWatchdogPlatform
A base implementation of WatchdogPlatform, used by OpenVMM and OpenHCL.

Traits§

WatchdogCallback
Trait for responding to watchdog timeouts.
WatchdogPlatform
Defines the watchdog platform interface.