]> git.proxmox.com Git - mirror_edk2.git/blob - BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardHelper.asm
ArmPlatform/ArmPlatformLib: Introduced ArmPlatformPeiBootAction()
[mirror_edk2.git] / BeagleBoardPkg / Library / BeagleBoardLib / BeagleBoardHelper.asm
1 //
2 // Copyright (c) 2012-2013, 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 ArmPlatformPeiBootAction
22 EXPORT ArmPlatformIsPrimaryCore
23
24 AREA BeagleBoardHelper, CODE, READONLY
25
26 //UINTN
27 //ArmPlatformIsPrimaryCore (
28 // IN UINTN MpId
29 // );
30 ArmPlatformIsPrimaryCore FUNCTION
31 // BeagleBoard has a single core. We must always return 1.
32 mov r0, #1
33 bx lr
34 ENDFUNC
35
36 ArmPlatformPeiBootAction FUNCTION
37 bx lr
38 ENDFUNC
39
40 END