ArmPkg/ArmLib: Renamed Cp15CacheInfo into ArmCacheInfo
CTR (Cache Type Register) has the same format on ARMv7 and AArch64. Renaming Cp15CacheInfo() into ArmCacheInfo() makes this function architecture independent. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15381 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
d9bd3f11cb
commit
647517279d
@@ -24,7 +24,7 @@
|
||||
#endif
|
||||
|
||||
EXPORT ArmReadMidr
|
||||
EXPORT Cp15CacheInfo
|
||||
EXPORT ArmCacheInfo
|
||||
EXPORT ArmGetInterruptState
|
||||
EXPORT ArmGetFiqState
|
||||
EXPORT ArmGetTTBR0BaseAddress
|
||||
@@ -54,7 +54,7 @@ ArmReadMidr
|
||||
mrc p15,0,R0,c0,c0,0
|
||||
bx LR
|
||||
|
||||
Cp15CacheInfo
|
||||
ArmCacheInfo
|
||||
mrc p15,0,R0,c0,c0,1
|
||||
bx LR
|
||||
|
||||
|
Reference in New Issue
Block a user