audk/ArmPlatformPkg
Ard Biesheuvel 5afabd5ec3 ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode
The SP805 watchdog driver doesn't implement the PI watchdog protocol
fully, but always simply resets the system if the watchdog time runs
out.

However, the hardware does support the intended usage model, as long
as the SP805 is wired up correctly. So let's implement interrupt based
mode involving a handler that is registered by the DXE core and invoked
when the watchdog runs out. In the interrupt handler, we invoke the
notify function if one was registered, before calling the ResetSystem()
runtime service (as per the UEFI spec)

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-12-20 12:41:21 +01:00
..
Drivers ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode 2018-12-20 12:41:21 +01:00
Include/Library ArmPlatformPkg/NorFlashPlatformLib: remove unused Guid member from struct 2018-11-27 12:54:13 +01:00
Library ArmPlatformPkg: Include PL011UartClock Lib 2018-06-15 12:57:13 +02:00
MemoryInitPei ArmPlatformPkg/MemoryInitPeim: take MAX_ALLOC_ADDRESS into account 2018-12-20 11:02:30 +01:00
PlatformPei ArmPlatformPkg/PlatformPei: drop unused PCD references 2018-11-29 18:57:39 +01:00
PrePeiCore ArmPlatformPkg: clear frame pointer in startup code 2018-11-19 11:10:09 -08:00
PrePi ArmPlatformPkg/PrePi: base GCD memory space size on CPU's PA range 2018-11-29 18:55:26 +01:00
Scripts ArmPlatformPkg/DS-5: fix 64-bit PE/COFF header parsing bug 2016-04-18 10:18:14 +02:00
ArmPlatformPkg.dec ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode 2018-12-20 12:41:21 +01:00
ArmPlatformPkg.dsc ArmPlatformPkg: PL011 Dynamic clock freq Support 2018-06-13 11:45:50 +02:00