]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg: Timer access for non-secure EL1/0
authorSami Mujawar <sami.mujawar@arm.com>
Tue, 16 May 2017 10:10:45 +0000 (11:10 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 22 May 2017 14:20:04 +0000 (15:20 +0100)
commit0e07733023ea26901eec5c51d17e8f38d10d0dea
treee0170c3d693e71abf331fea1e30b32075fe517f6
parent23d6348f924d27e72acdb3b5747ca26697e677e1
ArmPlatformPkg: Timer access for non-secure EL1/0

According to Section 2.3.6 of the "UEFI Specification 2.6 Errata A";
the primary CPU must be configured such that 'Timer access must be
provided to non-secure EL1 and EL0 by setting bits EL1PCTEN and
EL1PCEN in register CNTHCTL_EL2.'

This commit adds this missing set-up to the PrePi and PrePeiCore
modules.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/PrePeiCore/AArch64/Helper.S
ArmPlatformPkg/PrePi/AArch64/ArchPrePi.c