2 Provide FSP wrapper platform sec related function.
4 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __FSP_PLATFORM_SEC_LIB_H__
10 #define __FSP_PLATFORM_SEC_LIB_H__
13 A developer supplied function to perform platform specific operations.
15 It's a developer supplied function to perform any operations appropriate to a
16 given platform. It's invoked just before passing control to PEI core by SEC
17 core. Platform developer may modify the SecCoreData passed to PEI Core.
18 It returns a platform specific PPI list that platform wishes to pass to PEI core.
19 The Generic SEC core module will merge this list to join the final list passed to
22 @param[in,out] SecCoreData The same parameter as passing to PEI core. It
23 could be overridden by this function.
25 @return The platform specific PPI list to be passed to PEI core or
26 NULL if there is no need of such platform specific PPI list.
29 EFI_PEI_PPI_DESCRIPTOR
*
32 IN OUT EFI_SEC_PEI_HAND_OFF
*SecCoreData
36 Call PEI core entry point with new temporary RAM.
38 @param[in] FspHobList HobList produced by FSP.
39 @param[in] StartOfRange Start of temporary RAM.
40 @param[in] EndOfRange End of temporary RAM.
44 CallPeiCoreEntryPoint (
46 IN VOID
*StartOfRange
,
51 Save SEC context before call FspInit.
53 @param[in] PeiServices Pointer to PEI Services Table.
58 IN CONST EFI_PEI_SERVICES
**PeiServices