]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Ppi/FirmwareVolumeInfo2.h
MdePkg: Clean up source files
[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
LG
4 Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
c7935105 9\r
9095d37b
LG
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
c7935105
SZ
12\r
13 @par Revision Reference:\r
14 This PPI is introduced in PI Version 1.3 errata.\r
15\r
16**/\r
17\r
18#ifndef __EFI_PEI_FIRMWARE_VOLUME_INFO2_H__\r
19#define __EFI_PEI_FIRMWARE_VOLUME_INFO2_H__\r
20\r
21\r
22\r
23#define EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI_GUID \\r
24{ 0xea7ca24b, 0xded5, 0x4dad, { 0xa3, 0x89, 0xbf, 0x82, 0x7e, 0x8f, 0x9b, 0x38 } }\r
25\r
26typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI;\r
27\r
28///\r
9095d37b
LG
29/// This PPI describes the location and format of a firmware volume.\r
30/// The FvFormat can be EFI_FIRMWARE_FILE_SYSTEM2_GUID or the GUID for\r
31/// a user-defined format. The EFI_FIRMWARE_FILE_SYSTEM2_GUID is\r
c7935105
SZ
32/// the PI Firmware Volume format.\r
33///\r
34struct _EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI {\r
35 ///\r
36 /// Unique identifier of the format of the memory-mapped firmware volume.\r
37 ///\r
38 EFI_GUID FvFormat;\r
39 ///\r
40 /// Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to process\r
41 /// the volume. The format of this buffer is specific to the FvFormat.\r
42 /// For memory-mapped firmware volumes, this typically points to the first byte\r
43 /// of the firmware volume.\r
44 ///\r
45 VOID *FvInfo;\r
46 ///\r
47 /// Size of the data provided by FvInfo. For memory-mapped firmware volumes,\r
48 /// this is typically the size of the firmware volume.\r
49 ///\r
50 UINT32 FvInfoSize;\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 *ParentFvName;\r
57 ///\r
58 /// If the firmware volume originally came from a firmware file, then these\r
59 /// point to the parent firmware volume name and firmware volume file.\r
60 /// If it did not originally come from a firmware file, these should be NULL.\r
61 ///\r
62 EFI_GUID *ParentFileName;\r
63 ///\r
64 /// Authentication Status.\r
65 ///\r
66 UINT32 AuthenticationStatus;\r
67};\r
68\r
69extern EFI_GUID gEfiPeiFirmwareVolumeInfo2PpiGuid;\r
70\r
71#endif\r
72\r