#\r
-# Copyright (c) 2012, 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
-# which accompanies this distribution. The full text of the license may be found at \r
+# Copyright (c) 2012-2013, 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
+# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
\r
.align 2\r
\r
GCC_ASM_EXPORT(ArmPlatformIsPrimaryCore)\r
+GCC_ASM_EXPORT(ArmPlatformGetPrimaryCoreMpId)\r
+GCC_ASM_EXPORT(ArmPlatformPeiBootAction)\r
+\r
+GCC_ASM_IMPORT(ArmReadMpidr)\r
\r
//UINTN\r
//ArmPlatformIsPrimaryCore (\r
// );\r
ASM_PFX(ArmPlatformIsPrimaryCore):\r
// BeagleBoard has a single core. We must always return 1.\r
- mov r0, #1\r
- bx lr\r
+ mov r0, #1\r
+ bx lr\r
+\r
+ASM_PFX(ArmPlatformPeiBootAction):\r
+ bx lr\r
+\r
+//UINTN\r
+//ArmPlatformGetPrimaryCoreMpId (\r
+// VOID\r
+// );\r
+ASM_PFX(ArmPlatformGetPrimaryCoreMpId):\r
+ // The BeagleBoard is a uniprocessor platform. The MPIDR of primary core is\r
+ // always the MPIDR of the calling CPU.\r
+ b ASM_PFX(ArmReadMpidr)\r
\r
-ASM_FUNCTION_REMOVE_IF_UNREFERENCED \r
+ASM_FUNCTION_REMOVE_IF_UNREFERENCED\r