]> git.proxmox.com Git - mirror_edk2.git/blob - BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardHelper.asm
ArmPlatformPkg/ArmPlatformLib: Added support for ArmPlatformIsPrimaryCore()
[mirror_edk2.git] / BeagleBoardPkg / Library / BeagleBoardLib / BeagleBoardHelper.asm
1 //
2 // Copyright (c) 2012, ARM Limited. All rights reserved.
3 //
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
8 //
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.
11 //
12 //
13
14 #include <AsmMacroIoLib.h>
15 #include <Base.h>
16
17 #include <AutoGen.h>
18
19 INCLUDE AsmMacroIoLib.inc
20
21 EXPORT ArmPlatformIsPrimaryCore
22
23 AREA BeagleBoardHelper, CODE, READONLY
24
25 //UINTN
26 //ArmPlatformIsPrimaryCore (
27 // IN UINTN MpId
28 // );
29 ArmPlatformIsPrimaryCore FUNCTION
30 // BeagleBoard has a single core. We must always return 1.
31 mov r0, #1
32 bx lr
33 ENDFUNC
34
35 END
36