//\r
-// Copyright (c) 2012, ARM Limited. All rights reserved.\r
-// \r
-// This program and the accompanying materials \r
-// are licensed and made available under the terms and conditions of the BSD License \r
-// which accompanies this distribution. The full text of the license may be found at \r
-// http://opensource.org/licenses/bsd-license.php \r
+// Copyright (c) 2012-2013, ARM Limited. All rights reserved.\r
//\r
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+// This program and the accompanying materials\r
+// are licensed and made available under the terms and conditions of the BSD License\r
+// which accompanies this distribution. The full text of the license may be found at\r
+// http://opensource.org/licenses/bsd-license.php\r
+//\r
+// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
//\r
//\r
\r
\r
INCLUDE AsmMacroIoLib.inc\r
\r
+ EXPORT ArmPlatformPeiBootAction\r
EXPORT ArmPlatformIsPrimaryCore\r
+ EXPORT ArmPlatformGetPrimaryCoreMpId\r
+\r
+ IMPORT ArmReadMpidr\r
\r
AREA BeagleBoardHelper, CODE, READONLY\r
\r
// );\r
ArmPlatformIsPrimaryCore FUNCTION\r
// BeagleBoard has a single core. We must always return 1.\r
- mov r0, #1\r
- bx lr\r
+ mov r0, #1\r
+ bx lr\r
ENDFUNC\r
\r
- END\r
+ArmPlatformPeiBootAction FUNCTION\r
+ bx lr\r
+ ENDFUNC\r
\r
+//UINTN\r
+//ArmPlatformGetPrimaryCoreMpId (\r
+// VOID\r
+// );\r
+ArmPlatformGetPrimaryCoreMpId FUNCTION\r
+ // The BeagleBoard is a uniprocessor platform. The MPIDR of primary core is\r
+ // always the MPIDR of the calling CPU.\r
+ b ArmReadMpidr\r
+ ENDFUNC\r
+\r
+ END\r