diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-11-15 12:12:32 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-26 23:53:16 +0000 |
commit | 91171b6b945bf5f6eb03d99056917017ce9451e1 (patch) | |
tree | 9f47d731614d460aef6f1cb80c9ed3110c07c252 /EmulatorPkg | |
parent | f60a839480aae4fbea5165e81f074f9562448f78 (diff) | |
download | edk2-91171b6b945bf5f6eb03d99056917017ce9451e1.tar.gz |
ArmVirtPkg/PrePi: Don't clear HCR_EL2 fields when setting TGE
HCR_EL2 may contain fields that should be preserved (such as E2H, which
may be RES1 for all intents and purposes other than reading back the
register). So preserve the existing value when setting the TGE bit.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'EmulatorPkg')
0 files changed, 0 insertions, 0 deletions