]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Ppi/FirmwareVolumeInfo.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Ppi / FirmwareVolumeInfo.h
... / ...
CommitLineData
1/** @file\r
2 This file provides location and format of a firmware volume.\r
3\r
4 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6\r
7 @par Revision Reference:\r
8 This PPI is introduced in PI Version 1.0.\r
9\r
10**/\r
11\r
12#ifndef __EFI_PEI_FIRMWARE_VOLUME_INFO_H__\r
13#define __EFI_PEI_FIRMWARE_VOLUME_INFO_H__\r
14\r
15\r
16\r
17#define EFI_PEI_FIRMWARE_VOLUME_INFO_PPI_GUID \\r
18{ 0x49edb1c1, 0xbf21, 0x4761, { 0xbb, 0x12, 0xeb, 0x0, 0x31, 0xaa, 0xbb, 0x39 } }\r
19\r
20typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI EFI_PEI_FIRMWARE_VOLUME_INFO_PPI;\r
21\r
22///\r
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
26/// the PI Firmware Volume format.\r
27///\r
28struct _EFI_PEI_FIRMWARE_VOLUME_INFO_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\r
59extern EFI_GUID gEfiPeiFirmwareVolumeInfoPpiGuid;\r
60\r
61#endif\r
62\r