summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Ppi/PeiCoreFvLocation.h
blob: 481e8f47c89621b7ea4be5a332e3dbb7023e6340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/** @file
  Header file for Pei Core FV Location PPI.

  This PPI contains a pointer to the firmware volume which contains the PEI Foundation.
  If the PEI Foundation does not reside in the BFV, then SEC must pass this PPI as a part
  of the PPI list provided to the PEI Foundation Entry Point, otherwise the PEI Foundation
  shall assume that it resides within the BFV.

  Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent

  @par Revision Reference:
  This PPI is defined in UEFI Platform Initialization Specification 1.7 Volume 1:
  Standards

**/


#ifndef _EFI_PEI_CORE_FV_LOCATION_H_
#define _EFI_PEI_CORE_FV_LOCATION_H_

///
/// Global ID for EFI_PEI_CORE_FV_LOCATION_PPI
///
#define EFI_PEI_CORE_FV_LOCATION_GUID \
  { \
    0x52888eae, 0x5b10, 0x47d0, {0xa8, 0x7f, 0xb8, 0x22, 0xab, 0xa0, 0xca, 0xf4 } \
  }

///
/// This PPI provides location of EFI PeiCoreFv.
///
typedef struct {
  ///
  /// Pointer to the first byte of the firmware volume which contains the PEI Foundation.
  ///
  VOID    *PeiCoreFvLocation;
} EFI_PEI_CORE_FV_LOCATION_PPI;

extern EFI_GUID gEfiPeiCoreFvLocationPpiGuid;

#endif // _EFI_PEI_CORE_FV_LOCATION_H_