]>
Commit | Line | Data |
---|---|---|
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 <AutoGen.h>\r | |
16 | \r | |
17 | .text\r | |
18 | .align 2\r | |
19 | \r | |
20 | GCC_ASM_EXPORT(ArmPlatformIsPrimaryCore)\r | |
b5a57223 | 21 | GCC_ASM_EXPORT(ArmPlatformPeiBootAction)\r |
bebda7ce | 22 | \r |
23 | //UINTN\r | |
24 | //ArmPlatformIsPrimaryCore (\r | |
25 | // IN UINTN MpId\r | |
26 | // );\r | |
27 | ASM_PFX(ArmPlatformIsPrimaryCore):\r | |
28 | // BeagleBoard has a single core. We must always return 1.\r | |
29 | mov r0, #1\r | |
30 | bx lr\r | |
31 | \r | |
b5a57223 | 32 | ASM_PFX(ArmPlatformPeiBootAction):\r |
33 | bx lr\r | |
34 | \r | |
bebda7ce | 35 | ASM_FUNCTION_REMOVE_IF_UNREFERENCED \r |