]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/PlatformInit.c
2 Sample to provide platform init function.
4 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Library/DebugLib.h>
12 #include <Library/SerialPortLib.h>
15 Platform initialization.
17 @param[in] FspHobList HobList produced by FSP.
18 @param[in] StartOfRange Start of temporary RAM.
19 @param[in] EndOfRange End of temporary RAM.
25 IN VOID
*StartOfRange
,
30 // Platform initialization
31 // Enable Serial port here
33 SerialPortInitialize ();
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
));