2 # Copyright (c) 2012-2013, ARM Limited. All rights reserved.
4 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #include <AsmMacroIoLib.h>
14 GCC_ASM_EXPORT(ArmPlatformIsPrimaryCore)
15 GCC_ASM_EXPORT(ArmPlatformGetPrimaryCoreMpId)
16 GCC_ASM_EXPORT(ArmPlatformPeiBootAction)
18 GCC_ASM_IMPORT(ArmReadMpidr)
21 //ArmPlatformIsPrimaryCore (
24 ASM_PFX(ArmPlatformIsPrimaryCore):
25 // BeagleBoard has a single core. We must always return 1.
29 ASM_PFX(ArmPlatformPeiBootAction):
33 //ArmPlatformGetPrimaryCoreMpId (
36 ASM_PFX(ArmPlatformGetPrimaryCoreMpId):
37 // The BeagleBoard is a uniprocessor platform. The MPIDR of primary core is
38 // always the MPIDR of the calling CPU.
39 b ASM_PFX(ArmReadMpidr)
41 ASM_FUNCTION_REMOVE_IF_UNREFERENCED