audk/ArmPkg
Marcin Wojtas dd4cae4d82 ArmPkg/GenericWatchdogDxe: Split 64bit register write to 2x32bit
According to the SBSA specification the Watchdog Compare
Register is split into two separate 32bit registers.
EDK2 code uses a single 64bit transaction to update
them, which can be problematic, depending on the SoC
implementation and could result in unpredictable behavior.

Fix this by modifying WatchdogWriteCompareRegister routine to
use two consecutive 32bit writes to the Watchdog Compare Register
Low and High, using new dedicated macros.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-08-03 09:29:14 +02:00
..
Drivers ArmPkg/GenericWatchdogDxe: Split 64bit register write to 2x32bit 2018-08-03 09:29:14 +02:00
Filesystem/SemihostFs ArmPkg/SemihostFs: eliminate calls to deprecated string functions 2016-10-28 12:04:04 +01:00
Include ArmPkg: Add initial OpteeLib implementation 2018-08-01 11:03:45 +02:00
Library ArmPkg: Add initial OpteeLib implementation 2018-08-01 11:03:45 +02:00
ArmPkg.dec ArmPkg: Add initial OpteeLib implementation 2018-08-01 11:03:45 +02:00
ArmPkg.dsc ArmPkg: Add initial OpteeLib implementation 2018-08-01 11:03:45 +02:00