diff options
author | Leif Lindholm <leif@nuviainc.com> | 2020-12-18 13:57:11 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-12-18 15:27:26 +0000 |
commit | e2bfd172e4b98308aadac98f7c8203950a245e4b (patch) | |
tree | 10c56974ac9563290a0f74bf17d02b04e7b7975d /ArmPkg/Library/ArmLib | |
parent | bb56ce816b360dfa87bc0a579434c3bf8d5ecb38 (diff) | |
download | edk2-e2bfd172e4b98308aadac98f7c8203950a245e4b.zip edk2-e2bfd172e4b98308aadac98f7c8203950a245e4b.tar.gz edk2-e2bfd172e4b98308aadac98f7c8203950a245e4b.tar.bz2 |
ArmPkg/ArmLib: move ArmReadIdPfr0/1 into private header ArmV7Lib.h
ArmReadIdPfr0 () and ArmReadIdPfr1 () are now used only inside ArmLib.
Remove the prototypes from the public header to discourage new id
register accessor additions, and direct id register access in general.
Move them into local header Arm/ArmV7Lib.h.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'ArmPkg/Library/ArmLib')
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h index 93183e6..bb7bda0 100644 --- a/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h @@ -48,5 +48,17 @@ ArmCleanInvalidateDataCacheEntryBySetWay ( IN UINTN SetWayFormat
);
+UINTN
+EFIAPI
+ArmReadIdPfr0 (
+ VOID
+ );
+
+UINTN
+EFIAPI
+ArmReadIdPfr1 (
+ VOID
+ );
+
#endif // __ARM_V7_LIB_H__
|