ArmPkg: Add helper to read the Memory Model Features Register 2
Add helper function to read the MMFR2 register. We will need this to determine CCIDX support. Signed-off-by: Rebecca Cran <rebecca@nuviainc.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
92bdb2a9c6
commit
b69566afae
@@ -41,5 +41,16 @@ EFIAPI
|
||||
ArmReadIdAA64Pfr0 (
|
||||
VOID
|
||||
);
|
||||
|
||||
/** Reads the ID_AA64MMFR2_EL1 register.
|
||||
|
||||
@return The contents of the ID_AA64MMFR2_EL1 register.
|
||||
**/
|
||||
UINTN
|
||||
EFIAPI
|
||||
ArmReadIdAA64Mmfr2 (
|
||||
VOID
|
||||
);
|
||||
|
||||
#endif // __AARCH64_LIB_H__
|
||||
|
||||
|
Reference in New Issue
Block a user