]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/ArmLib/Common/Arm/ArmLibSupport.S
ArmPkg/ArmLib: Renamed Cp15CacheInfo into ArmCacheInfo
[mirror_edk2.git] / ArmPkg / Library / ArmLib / Common / Arm / ArmLibSupport.S
index 4c95565e8f085c004609e88e31256855aa5a5f31..f3b949565f187a44517787c731458bd5e0fd1327 100644 (file)
@@ -1,7 +1,7 @@
 #------------------------------------------------------------------------------ \r
 #\r
 # Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-# Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
+# Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.\r
 #\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
@@ -23,8 +23,8 @@
 \r
 .text\r
 .align 2\r
-GCC_ASM_EXPORT(Cp15IdCode)\r
-GCC_ASM_EXPORT(Cp15CacheInfo)\r
+GCC_ASM_EXPORT(ArmReadMidr)\r
+GCC_ASM_EXPORT(ArmCacheInfo)\r
 GCC_ASM_EXPORT(ArmGetInterruptState)\r
 GCC_ASM_EXPORT(ArmGetFiqState)\r
 GCC_ASM_EXPORT(ArmGetTTBR0BaseAddress)\r
@@ -50,11 +50,11 @@ GCC_ASM_EXPORT(ArmReadSctlr)
 \r
 #------------------------------------------------------------------------------\r
 \r
-ASM_PFX(Cp15IdCode):\r
+ASM_PFX(ArmReadMidr):\r
   mrc     p15,0,R0,c0,c0,0\r
   bx      LR\r
 \r
-ASM_PFX(Cp15CacheInfo):\r
+ASM_PFX(ArmCacheInfo):\r
   mrc     p15,0,R0,c0,c0,1\r
   bx      LR\r
 \r
@@ -87,7 +87,7 @@ ASM_PFX(CPSRMaskInsert):    @ on entry, r0 is the mask and r1 is the field to in
   isb\r
   mov     sp, r3            @ restore stack pointer\r
   ldmfd   sp!, {r4-r12, lr} @ restore registers\r
-  bx      lr                @ return (hopefully thumb-safe!)             @ return (hopefully thumb-safe!)\r
+  bx      lr                @ return (hopefully thumb-safe!)\r
 \r
 ASM_PFX(CPSRRead):\r
   mrs     r0, cpsr\r