template <WatchdogMmioHelper MmioHelper, Watchdog<MmioHelper>... Watchdogs>

class GenericWatchdogItemBase

Defined at line 957 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h

Define an item that maps an arbitrary set of `Watchdogs` to `zbi_dcfg_generic32_watchdog_t`, that

is a generic representation of a watchdog driver described by a set of actions that are mapped to

a sequence of R-M-W operations in specific MMIO regions.

Specifically given the set of `Wacthdogs` the first non-disabled matching device node will be

used to fill the payload.

See '

<lib

/boot-shim/watchdog.h>' for Watchdog Item API contract.

Public Methods

template <typename Shim>
void Init (const Shim & shim)

Defined at line 965 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h

devicetree::ScanState OnNode (const devicetree::NodePath & path, const devicetree::PropertyDecoder & decoder)

Defined at line 970 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h

devicetree::ScanState OnScan ()

If after a full scan no watchdog is found, we should end.

Defined at line 997 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h