2 This file defines the Silicon Temp Ram Exit PPI which implements the
3 required programming steps for disabling temporary memory.
5 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef _FSP_TEMP_RAM_EXIT_PPI_H_
11 #define _FSP_TEMP_RAM_EXIT_PPI_H_
14 /// Global ID for the FSP_TEMP_RAM_EXIT_PPI.
16 #define FSP_TEMP_RAM_EXIT_GUID \
18 0xbc1cfbdb, 0x7e50, 0x42be, { 0xb4, 0x87, 0x22, 0xe0, 0xa9, 0x0c, 0xb0, 0x52 } \
22 // Forward declaration for the FSP_TEMP_RAM_EXIT_PPI.
24 typedef struct _FSP_TEMP_RAM_EXIT_PPI FSP_TEMP_RAM_EXIT_PPI
;
27 Silicon function for disabling temporary memory.
28 @param[in] TempRamExitParamPtr - Pointer to the TempRamExit parameters structure.
29 This structure is normally defined in the Integration
30 Guide. If it is not defined in the Integration Guide,
32 @retval EFI_SUCCESS - FSP execution environment was initialized successfully.
33 @retval EFI_INVALID_PARAMETER - Input parameters are invalid.
34 @retval EFI_UNSUPPORTED - The FSP calling conditions were not met.
35 @retval EFI_DEVICE_ERROR - Temporary memory exit.
39 (EFIAPI
*FSP_TEMP_RAM_EXIT
) (
40 IN VOID
*TempRamExitParamPtr
44 /// This PPI provides function to disable temporary memory.
46 struct _FSP_TEMP_RAM_EXIT_PPI
{
47 FSP_TEMP_RAM_EXIT TempRamExit
;
50 extern EFI_GUID gFspTempRamExitPpiGuid
;
52 #endif // _FSP_TEMP_RAM_EXIT_PPI_H_