//\r
// Copyright (c) 2011-2013, 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
//\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
#include <AutoGen.h>\r
\r
INCLUDE AsmMacroIoLib.inc\r
- \r
+\r
IMPORT CEntryPoint\r
IMPORT ArmPlatformGetCorePosition\r
IMPORT ArmPlatformIsPrimaryCore\r
IMPORT ArmReadMpidr\r
IMPORT ArmPlatformPeiBootAction\r
EXPORT _ModuleEntryPoint\r
- \r
+\r
PRESERVE8\r
AREA PrePeiCoreEntryPoint, CODE, READONLY\r
- \r
+\r
StartupAddr DCD CEntryPoint\r
\r
_ModuleEntryPoint\r
bl ArmReadMpidr\r
// Keep a copy of the MpId register value\r
mov r5, r0\r
- \r
+\r
// Is it the Primary Core ?\r
bl ArmPlatformIsPrimaryCore\r
\r
// Move sec startup address into a data register\r
// Ensure we're jumping to FV version of the code (not boot remapped alias)\r
ldr r3, StartupAddr\r
- \r
+\r
// Jump to PrePeiCore C code\r
// r0 = mp_id\r
// r1 = pei_core_address\r