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 @@
|
||||
.text
|
||||
.align 2
|
||||
GCC_ASM_EXPORT(ArmReadMidr)
|
||||
GCC_ASM_EXPORT(Cp15CacheInfo)
|
||||
GCC_ASM_EXPORT(ArmCacheInfo)
|
||||
GCC_ASM_EXPORT(ArmGetInterruptState)
|
||||
GCC_ASM_EXPORT(ArmGetFiqState)
|
||||
GCC_ASM_EXPORT(ArmGetTTBR0BaseAddress)
|
||||
@@ -54,7 +54,7 @@ ASM_PFX(ArmReadMidr):
|
||||
mrc p15,0,R0,c0,c0,0
|
||||
bx LR
|
||||
|
||||
ASM_PFX(Cp15CacheInfo):
|
||||
ASM_PFX(ArmCacheInfo):
|
||||
mrc p15,0,R0,c0,c0,1
|
||||
bx LR
|
||||
|
||||
|
Reference in New Issue
Block a user