ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / IntelFsp2WrapperPkg / Library / SecFspWrapperPlatformSecLibSample / PlatformInit.c
1 /** @file
2 Sample to provide platform init function.
3
4 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9
10 #include <PiPei.h>
11 #include <Library/DebugLib.h>
12 #include <Library/SerialPortLib.h>
13
14 /**
15 Platform initialization.
16
17 @param[in] FspHobList HobList produced by FSP.
18 @param[in] StartOfRange Start of temporary RAM.
19 @param[in] EndOfRange End of temporary RAM.
20 **/
21 VOID
22 EFIAPI
23 PlatformInit (
24 IN VOID *FspHobList,
25 IN VOID *StartOfRange,
26 IN VOID *EndOfRange
27 )
28 {
29 //
30 // Platform initialization
31 // Enable Serial port here
32 //
33 SerialPortInitialize ();
34
35 DEBUG ((DEBUG_INFO, "PrintPeiCoreEntryPointParam in PlatformInit\n"));
36 DEBUG ((DEBUG_INFO, "FspHobList - 0x%x\n", FspHobList));
37 DEBUG ((DEBUG_INFO, "StartOfRange - 0x%x\n", StartOfRange));
38 DEBUG ((DEBUG_INFO, "EndOfRange - 0x%x\n", EndOfRange));
39 }