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