]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/PlatformInit.c
Add IntelFspWrapper to support boot EDKII on FSP bin.
[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
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php.\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15\r
16#include <PiPei.h>\r
17#include <Library/DebugLib.h>\r
18\r
19/**\r
20 Platform initialization.\r
21\r
22 @param[in] FspHobList HobList produced by FSP.\r
23 @param[in] StartOfRange Start of temporary RAM.\r
24 @param[in] EndOfRange End of temporary RAM.\r
25**/\r
26VOID\r
27EFIAPI\r
28PlatformInit (\r
29 IN VOID *FspHobList,\r
30 IN VOID *StartOfRange,\r
31 IN VOID *EndOfRange\r
32 )\r
33{\r
34 //\r
35 // Platform initialization\r
36 // Enable Serial port here\r
37 //\r
38\r
39 DEBUG ((DEBUG_INFO, "PrintPeiCoreEntryPointParam\n"));\r
40 DEBUG ((DEBUG_INFO, "FspHobList - 0x%x\n", FspHobList));\r
41 DEBUG ((DEBUG_INFO, "StartOfRange - 0x%x\n", StartOfRange));\r
42 DEBUG ((DEBUG_INFO, "EndOfRange - 0x%x\n", EndOfRange));\r
43}\r