]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Ppi/FirmwareVolumeInfo2.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Ppi / FirmwareVolumeInfo2.h
1 /** @file
2 This file provides location, format and authentication status of a firmware volume.
3
4 Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 @par Revision Reference:
8 This PPI is introduced in PI Version 1.3 errata.
9
10 **/
11
12 #ifndef __EFI_PEI_FIRMWARE_VOLUME_INFO2_H__
13 #define __EFI_PEI_FIRMWARE_VOLUME_INFO2_H__
14
15
16
17 #define EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI_GUID \
18 { 0xea7ca24b, 0xded5, 0x4dad, { 0xa3, 0x89, 0xbf, 0x82, 0x7e, 0x8f, 0x9b, 0x38 } }
19
20 typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI;
21
22 ///
23 /// This PPI describes the location and format of a firmware volume.
24 /// The FvFormat can be EFI_FIRMWARE_FILE_SYSTEM2_GUID or the GUID for
25 /// a user-defined format. The EFI_FIRMWARE_FILE_SYSTEM2_GUID is
26 /// the PI Firmware Volume format.
27 ///
28 struct _EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI {
29 ///
30 /// Unique identifier of the format of the memory-mapped firmware volume.
31 ///
32 EFI_GUID FvFormat;
33 ///
34 /// Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to process
35 /// the volume. The format of this buffer is specific to the FvFormat.
36 /// For memory-mapped firmware volumes, this typically points to the first byte
37 /// of the firmware volume.
38 ///
39 VOID *FvInfo;
40 ///
41 /// Size of the data provided by FvInfo. For memory-mapped firmware volumes,
42 /// this is typically the size of the firmware volume.
43 ///
44 UINT32 FvInfoSize;
45 ///
46 /// If the firmware volume originally came from a firmware file, then these
47 /// point to the parent firmware volume name and firmware volume file.
48 /// If it did not originally come from a firmware file, these should be NULL.
49 ///
50 EFI_GUID *ParentFvName;
51 ///
52 /// If the firmware volume originally came from a firmware file, then these
53 /// point to the parent firmware volume name and firmware volume file.
54 /// If it did not originally come from a firmware file, these should be NULL.
55 ///
56 EFI_GUID *ParentFileName;
57 ///
58 /// Authentication Status.
59 ///
60 UINT32 AuthenticationStatus;
61 };
62
63 extern EFI_GUID gEfiPeiFirmwareVolumeInfo2PpiGuid;
64
65 #endif
66