baee8efb36
ArmPkg/GenericWatchdogDxe: Set Watchdog interrupt type
...
Utilise the new HardwareInterrupt2 protocol to adjust the
Edge/Level characteristics of the Watchdog interrupt.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Signed-off-by: Girish Pathak <girish.pathak@arm.com >
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com >
Tested-by: Girish Pathak <girish.pathak@arm.com >
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org >
2017-10-05 21:23:39 +01:00
b0393756d6
ArmPkg: Tidy GIC code before changes.
...
This change is purely cosmetic, to tidy some code before change.
Mods involve:
Re-order #includes
Reformat comments.
Use ns consistently (always "100ns" not sometimes "100 nS")
Split overlength code lines.
Make protocol functions STATIC.
Remove "Horor vacui" comments.
Rationalize GIC register address calculations
Replace explicit test and assert with ASSERT_EFI_ERROR.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Girish Pathak <girish.pathak@arm.com >
Signed-off-by: Alexei Fedorov <alexei.fedorov@arm.com >
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com >
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org >
2017-10-05 17:45:16 +01:00
baeddf2b27
ArmPkg/GenericWatchdogDxe: add missing VOID* cast
...
Use an explicit VOID* cast when passing a static char array into
a function taking a void pointer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org >
Tested-by: Leif Lindholm <leif.lindholm@linaro.org >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18193 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-10 07:54:47 +00:00
2366640023
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
2014-12-12 19:10:58 +00:00
0b4d97a0ea
ArmPlatformPkg/ArmJunoPkg: Move the watchdog generic driver to ArmPkg/Drivers
...
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@16512 6f19259b-4bc3-4df7-8a09-765794883524
2014-12-12 19:09:24 +00:00