]>
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 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #include <Library/DebugLib.h>
18 #include <Library/SerialPortLib.h>
21 Platform initialization.
23 @param[in] FspHobList HobList produced by FSP.
24 @param[in] StartOfRange Start of temporary RAM.
25 @param[in] EndOfRange End of temporary RAM.
31 IN VOID
*StartOfRange
,
36 // Platform initialization
37 // Enable Serial port here
39 SerialPortInitialize ();
41 DEBUG ((DEBUG_INFO
, "PrintPeiCoreEntryPointParam in PlatformInit\n"));
42 DEBUG ((DEBUG_INFO
, "FspHobList - 0x%x\n", FspHobList
));
43 DEBUG ((DEBUG_INFO
, "StartOfRange - 0x%x\n", StartOfRange
));
44 DEBUG ((DEBUG_INFO
, "EndOfRange - 0x%x\n", EndOfRange
));