diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2025-05-27 18:52:42 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-05-28 22:09:22 +0300 |
| commit | 5b80d7944d197494a84de42a5ba084769865a3d8 (patch) | |
| tree | def6b425976fdae9b093e9724e8834f85432452c /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni | |
| parent | 9cd4328f5ea59859e66e6052acb904e3eb1ea042 (diff) | |
| download | edk2-5b80d7944d197494a84de42a5ba084769865a3d8.tar.xz | |
ArmPlatformPkg/Sec: Re-use SetupExceptionLevel1 when running VHE at EL2
Given that CPACR_EL1 is aliased to CPTR_EL2 when running at EL2 with VHE
enabled, we can just fall back to SetupExceptionLevel1() instead of
fiddling with the init values for CPTR_EL2.
While at it, use the existing define to refer to the E2H bit in HCR_EL2.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni')
0 files changed, 0 insertions, 0 deletions
