1 /** @file
2   Header file for Pei Core FV Location PPI.
3 
4   This PPI contains a pointer to the firmware volume which contains the PEI Foundation.
5   If the PEI Foundation does not reside in the BFV, then SEC must pass this PPI as a part
6   of the PPI list provided to the PEI Foundation Entry Point, otherwise the PEI Foundation
7   shall assume that it resides within the BFV.
8 
9   Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
10   SPDX-License-Identifier: BSD-2-Clause-Patent
11 
12   @par Revision Reference:
13   This PPI is defined in UEFI Platform Initialization Specification 1.7 Volume 1:
14   Standards
15 
16 **/
17 
18 
19 #ifndef _EFI_PEI_CORE_FV_LOCATION_H_
20 #define _EFI_PEI_CORE_FV_LOCATION_H_
21 
22 ///
23 /// Global ID for EFI_PEI_CORE_FV_LOCATION_PPI
24 ///
25 #define EFI_PEI_CORE_FV_LOCATION_GUID \
26   { \
27     0x52888eae, 0x5b10, 0x47d0, {0xa8, 0x7f, 0xb8, 0x22, 0xab, 0xa0, 0xca, 0xf4 } \
28   }
29 
30 ///
31 /// This PPI provides location of EFI PeiCoreFv.
32 ///
33 typedef struct {
34   ///
35   /// Pointer to the first byte of the firmware volume which contains the PEI Foundation.
36   ///
37   VOID    *PeiCoreFvLocation;
38 } EFI_PEI_CORE_FV_LOCATION_PPI;
39 
40 extern EFI_GUID gEfiPeiCoreFvLocationPpiGuid;
41 
42 #endif // _EFI_PEI_CORE_FV_LOCATION_H_
43