2 Provide FSP wrapper platform sec related function.
4 Copyright (c) 2014, 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.
15 #ifndef __FSP_PLATFORM_SEC_LIB_H__
16 #define __FSP_PLATFORM_SEC_LIB_H__
19 A developer supplied function to perform platform specific operations.
21 It's a developer supplied function to perform any operations appropriate to a
22 given platform. It's invoked just before passing control to PEI core by SEC
23 core. Platform developer may modify the SecCoreData passed to PEI Core.
24 It returns a platform specific PPI list that platform wishes to pass to PEI core.
25 The Generic SEC core module will merge this list to join the final list passed to
28 @param[in,out] SecCoreData The same parameter as passing to PEI core. It
29 could be overridden by this function.
31 @return The platform specific PPI list to be passed to PEI core or
32 NULL if there is no need of such platform specific PPI list.
35 EFI_PEI_PPI_DESCRIPTOR
*
38 IN OUT EFI_SEC_PEI_HAND_OFF
*SecCoreData
42 Call PEI core entry point with new temporary RAM.
44 @param[in] FspHobList HobList produced by FSP.
45 @param[in] StartOfRange Start of temporary RAM.
46 @param[in] EndOfRange End of temporary RAM.
50 CallPeiCoreEntryPoint (
52 IN VOID
*StartOfRange
,
57 Save SEC context before call FspInit.
59 @param[in] PeiServices Pointer to PEI Services Table.
64 IN CONST EFI_PEI_SERVICES
**PeiServices