1 /** @file
2 *
3 * Copyright (c) 2011, ARM Limited. All rights reserved.
4 *
5 * This program and the accompanying materials
6 * are licensed and made available under the terms and conditions of the BSD License
7 * which accompanies this distribution. The full text of the license may be found at
8 * http://opensource.org/licenses/bsd-license.php
9 *
10 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 *
13 **/
14
15 #include "PrePi.h"
16
17 VOID
PrimaryMain(IN UINTN UefiMemoryBase,IN UINTN StacksBase,IN UINT64 StartTimeStamp)18 PrimaryMain (
19 IN UINTN UefiMemoryBase,
20 IN UINTN StacksBase,
21 IN UINT64 StartTimeStamp
22 )
23 {
24 DEBUG_CODE_BEGIN();
25 // On MPCore system, PeiMpCore.inf should be used instead of PeiUniCore.inf
26 ASSERT(ArmIsMpCore() == 0);
27 DEBUG_CODE_END();
28
29 PrePiMain (UefiMemoryBase, StacksBase, StartTimeStamp);
30
31 // We must never return
32 ASSERT(FALSE);
33 }
34
35 VOID
SecondaryMain(IN UINTN MpId)36 SecondaryMain (
37 IN UINTN MpId
38 )
39 {
40 // We must never get into this function on UniCore system
41 ASSERT(FALSE);
42 }
43
44