ArmPkg/ArmLib: add ArmReadHcr to enable read-modify-write of HCR
Add ArmReadHcr() to ArmLib to enable read-modify-write of the HCR system register. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eugene Cohen <eugene@hp.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
This commit is contained in:
committed by
Ard Biesheuvel
parent
30ed3422ab
commit
d2bb61a232
@@ -203,6 +203,11 @@ ArmWriteHcr (
|
||||
IN UINTN Hcr
|
||||
);
|
||||
|
||||
UINTN
|
||||
ArmReadHcr (
|
||||
VOID
|
||||
);
|
||||
|
||||
UINTN
|
||||
ArmReadCurrentEL (
|
||||
VOID
|
||||
|
Reference in New Issue
Block a user