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