]> git.proxmox.com Git - mirror_edk2.git/blame - BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardHelper.asm
MdeModulePkg: Add the alignment check for FTW spare area address and length, and...
[mirror_edk2.git] / BeagleBoardPkg / Library / BeagleBoardLib / BeagleBoardHelper.asm
CommitLineData
bebda7ce 1//\r
b5a57223 2// Copyright (c) 2012-2013, ARM Limited. All rights reserved.\r
bebda7ce 3// \r
4// This program and the accompanying materials \r
5// are licensed and made available under the terms and conditions of the BSD License \r
6// which accompanies this distribution. The full text of the license may be found at \r
7// http://opensource.org/licenses/bsd-license.php \r
8//\r
9// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11//\r
12//\r
13\r
14#include <AsmMacroIoLib.h>\r
15#include <Base.h>\r
16\r
17#include <AutoGen.h>\r
18\r
19 INCLUDE AsmMacroIoLib.inc\r
20\r
b5a57223 21 EXPORT ArmPlatformPeiBootAction\r
bebda7ce 22 EXPORT ArmPlatformIsPrimaryCore\r
23\r
24 AREA BeagleBoardHelper, CODE, READONLY\r
25\r
26//UINTN\r
27//ArmPlatformIsPrimaryCore (\r
28// IN UINTN MpId\r
29// );\r
30ArmPlatformIsPrimaryCore FUNCTION\r
31 // BeagleBoard has a single core. We must always return 1.\r
32 mov r0, #1\r
33 bx lr\r
34 ENDFUNC\r
35\r
b5a57223 36ArmPlatformPeiBootAction FUNCTION\r
37 bx lr\r
38 ENDFUNC\r
bebda7ce 39\r
b5a57223 40 END\r