]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Ppi/PeiCoreFvLocation.h
MdePkg: Support EFI_PEI_CORE_FV_LOCATION_PPI
[mirror_edk2.git] / MdePkg / Include / Ppi / PeiCoreFvLocation.h
CommitLineData
c93c0dc1
CC
1/** @file\r
2 Header file for Pei Core FV Location PPI.\r
3\r
4 This PPI contains a pointer to the firmware volume which contains the PEI Foundation.\r
5 If the PEI Foundation does not reside in the BFV, then SEC must pass this PPI as a part\r
6 of the PPI list provided to the PEI Foundation Entry Point, otherwise the PEI Foundation\r
7 shall assume that it resides within the BFV.\r
8\r
9 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
10 This program and the accompanying materials\r
11 are licensed and made available under the terms and conditions of the BSD License\r
12 which accompanies this distribution. The full text of the license may be found at\r
13 http://opensource.org/licenses/bsd-license.php\r
14\r
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17\r
18 @par Revision Reference:\r
19 This PPI is defined in UEFI Platform Initialization Specification 1.7 Volume 1:\r
20 Standards\r
21\r
22**/\r
23\r
24\r
25#ifndef _EFI_PEI_CORE_FV_LOCATION_H_\r
26#define _EFI_PEI_CORE_FV_LOCATION_H_\r
27\r
28///\r
29/// Global ID for EFI_PEI_CORE_FV_LOCATION_PPI\r
30///\r
31#define EFI_PEI_CORE_FV_LOCATION_GUID \\r
32 { \\r
33 0x52888eae, 0x5b10, 0x47d0, {0xa8, 0x7f, 0xb8, 0x22, 0xab, 0xa0, 0xca, 0xf4 } \\r
34 }\r
35\r
36///\r
37/// This PPI provides location of EFI PeiCoreFv.\r
38///\r
39typedef struct {\r
40 ///\r
41 /// Pointer to the first byte of the firmware volume which contains the PEI Foundation.\r
42 ///\r
43 VOID *PeiCoreFvLocation;\r
44} EFI_PEI_CORE_FV_LOCATION_PPI;\r
45\r
46extern EFI_GUID gEfiPeiCoreFvLocationPpiGuid;\r
47\r
48#endif // _EFI_PEI_CORE_FV_LOCATION_H_\r