VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/IntelFsp2Pkg/Include/Ppi/TempRamExitPpi.h@ 80721

Last change on this file since 80721 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/** @file
2 This file defines the Silicon Temp Ram Exit PPI which implements the
3 required programming steps for disabling temporary memory.
4
5Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef _FSP_TEMP_RAM_EXIT_PPI_H_
11#define _FSP_TEMP_RAM_EXIT_PPI_H_
12
13///
14/// Global ID for the FSP_TEMP_RAM_EXIT_PPI.
15///
16#define FSP_TEMP_RAM_EXIT_GUID \
17 { \
18 0xbc1cfbdb, 0x7e50, 0x42be, { 0xb4, 0x87, 0x22, 0xe0, 0xa9, 0x0c, 0xb0, 0x52 } \
19 }
20
21//
22// Forward declaration for the FSP_TEMP_RAM_EXIT_PPI.
23//
24typedef struct _FSP_TEMP_RAM_EXIT_PPI FSP_TEMP_RAM_EXIT_PPI;
25
26/**
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,
31 pass NULL.
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.
36**/
37typedef
38EFI_STATUS
39(EFIAPI *FSP_TEMP_RAM_EXIT) (
40 IN VOID *TempRamExitParamPtr
41 );
42
43///
44/// This PPI provides function to disable temporary memory.
45///
46struct _FSP_TEMP_RAM_EXIT_PPI {
47 FSP_TEMP_RAM_EXIT TempRamExit;
48};
49
50extern EFI_GUID gFspTempRamExitPpiGuid;
51
52#endif // _FSP_TEMP_RAM_EXIT_PPI_H_
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette