2 # Copyright (c) 2012-2013, ARM Limited. All rights reserved.
4 # This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #include <AsmMacroIoLib.h>
20 GCC_ASM_EXPORT(ArmPlatformIsPrimaryCore)
21 GCC_ASM_EXPORT(ArmPlatformGetPrimaryCoreMpId)
22 GCC_ASM_EXPORT(ArmPlatformPeiBootAction)
24 GCC_ASM_IMPORT(ArmReadMpidr)
27 //ArmPlatformIsPrimaryCore (
30 ASM_PFX(ArmPlatformIsPrimaryCore):
31 // BeagleBoard has a single core. We must always return 1.
35 ASM_PFX(ArmPlatformPeiBootAction):
39 //ArmPlatformGetPrimaryCoreMpId (
42 ASM_PFX(ArmPlatformGetPrimaryCoreMpId):
43 // The BeagleBoard is a uniprocessor platform. The MPIDR of primary core is
44 // always the MPIDR of the calling CPU.
45 b ASM_PFX(ArmReadMpidr)
47 ASM_FUNCTION_REMOVE_IF_UNREFERENCED