#------------------------------------------------------------------------------ \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
\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
\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
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