]>
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
10 #include <Library/DebugLib.h>
11 #include <Library/SerialPortLib.h>
14 Platform initialization.
16 @param[in] FspHobList HobList produced by FSP.
17 @param[in] StartOfRange Start of temporary RAM.
18 @param[in] EndOfRange End of temporary RAM.
24 IN VOID
*StartOfRange
,
29 // Platform initialization
30 // Enable Serial port here
32 SerialPortInitialize ();
34 DEBUG ((DEBUG_INFO
, "PrintPeiCoreEntryPointParam in PlatformInit\n"));
35 DEBUG ((DEBUG_INFO
, "FspHobList - 0x%x\n", FspHobList
));
36 DEBUG ((DEBUG_INFO
, "StartOfRange - 0x%x\n", StartOfRange
));
37 DEBUG ((DEBUG_INFO
, "EndOfRange - 0x%x\n", EndOfRange
));