audk/ArmPlatformPkg/Drivers
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
..
LcdGraphicsOutputDxe ArmPlatformPkg: Tidy Lcd code: Updated comments 2018-04-23 12:00:23 +01:00
NorFlashDxe ArmPlatformPkg/NorFlashDxe: use one GUID plus index to identify flash banks 2018-11-26 17:53:46 +01:00
PL061GpioDxe ArmPlatformPkg: move internal PL061 header into driver directory 2017-11-30 16:08:36 +00:00
PL180MciDxe ArmPlatformPkg/PL180MciDxe: update for identifying SD 2016-11-24 16:29:03 +00:00
SP805WatchdogDxe ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode 2018-12-20 12:41:21 +01:00