]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/GenericWatchdogDxe: implement RegisterHandler() method
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 18 Dec 2018 13:10:14 +0000 (14:10 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 20 Dec 2018 11:41:21 +0000 (12:41 +0100)
commitba808d11f6a3206cbf4bee8340c7a26b2b19e809
tree87bc364475a913288573a9dd319da79531206e62
parentd3b05936d961fa9530ae7a5ca6363abd45864b83
ArmPkg/GenericWatchdogDxe: implement RegisterHandler() method

Even though UEFI does not appear to use it, let's implement the
complete PI watchdog protocol, including handler registration,
which will be invoked before the ResetSystem() runtime service
when the watchdog timer expires.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c