summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-05-27 18:45:47 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-05-28 22:09:22 +0300
commit81549ad5e59ff247355f22aa8addd825e89c49c7 (patch)
treea4a457d9ed5d374a62b6e29472a08cec46b82724 /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c
parentdb7fedc24353ba31e57594181c8159f88f76bb25 (diff)
downloadedk2-81549ad5e59ff247355f22aa8addd825e89c49c7.tar.xz
ArmPlatformPkg/Sec: Remove EL1 timer setup when booting at EL2
Even though the UEFI spec mentions that the EL1PCTEN and EL1PCEN bits in CNTHCTL_EL2 must be set, this is not a requirement that applies to the UEFI implementation, but a requirement that applies to the firmware running at EL2 in cases where UEFI executes at EL1. (Note that the same paragraphs mentions that CNTFRQ must be programmed with the timer frequency, and this is only permitted at EL3). Setting these bits has no effect when executing at EL2, and it is the OS's job to reason about how to configure lower exception levels. So drop the initialization of CNTHCTL_EL2. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c')
0 files changed, 0 insertions, 0 deletions