]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c
ArmPkg/GenericWatchdogDxe: Set up the watchdog timeout relatively to the system counter
authorRonald Cron <Ronald.Cron@arm.com>
Fri, 12 Dec 2014 19:10:58 +0000 (19:10 +0000)
committeroliviermartin <oliviermartin@Edk2>
Fri, 12 Dec 2014 19:10:58 +0000 (19:10 +0000)
commit23666400234149a9c64b5881805db49cb8342ee7
treea8215a5de4f67194bc68f98586248ac6eff79361
parent0b4d97a0ea92289181d565000b9fcc81054d78ee
ArmPkg/GenericWatchdogDxe: Set up the watchdog timeout relatively to the system counter

Use the system counter to compute the watchdog compare
value as the watchdog compare value is compared to the
system counter to check if the watchdog timeout expired or not.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <Ronald.Cron@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16513 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.c