]>
Commit | Line | Data |
---|---|---|
c311f86b | 1 | /** @file\r |
5879b875 | 2 | This file provides location and format of a firmware volume.\r |
3 | \r | |
9095d37b | 4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r |
9344f092 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
5879b875 | 6 | \r |
5879b875 | 7 | @par Revision Reference:\r |
0047820e | 8 | This PPI is introduced in PI Version 1.0.\r |
5879b875 | 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 | |
5879b875 | 15 | #define EFI_PEI_FIRMWARE_VOLUME_INFO_PPI_GUID \\r |
16 | { 0x49edb1c1, 0xbf21, 0x4761, { 0xbb, 0x12, 0xeb, 0x0, 0x31, 0xaa, 0xbb, 0x39 } }\r | |
17 | \r | |
2f88bd3a | 18 | typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI EFI_PEI_FIRMWARE_VOLUME_INFO_PPI;\r |
5879b875 | 19 | \r |
dafa11b1 | 20 | ///\r |
9095d37b LG |
21 | /// This PPI describes the location and format of a firmware volume.\r |
22 | /// The FvFormat can be EFI_FIRMWARE_FILE_SYSTEM2_GUID or the GUID for\r | |
23 | /// a user-defined format. The EFI_FIRMWARE_FILE_SYSTEM2_GUID is\r | |
dafa11b1 | 24 | /// the PI Firmware Volume format.\r |
25 | ///\r | |
5879b875 | 26 | struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI {\r |
dafa11b1 | 27 | ///\r |
28 | /// Unique identifier of the format of the memory-mapped firmware volume.\r | |
29 | ///\r | |
2f88bd3a | 30 | EFI_GUID FvFormat;\r |
dafa11b1 | 31 | ///\r |
32 | /// Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to process\r | |
33 | /// the volume. The format of this buffer is specific to the FvFormat.\r | |
34 | /// For memory-mapped firmware volumes, this typically points to the first byte\r | |
35 | /// of the firmware volume.\r | |
36 | ///\r | |
2f88bd3a | 37 | VOID *FvInfo;\r |
dafa11b1 | 38 | ///\r |
39 | /// Size of the data provided by FvInfo. For memory-mapped firmware volumes,\r | |
40 | /// this is typically the size of the firmware volume.\r | |
41 | ///\r | |
2f88bd3a | 42 | UINT32 FvInfoSize;\r |
dafa11b1 | 43 | ///\r |
44 | /// If the firmware volume originally came from a firmware file, then these\r | |
45 | /// point to the parent firmware volume name and firmware volume file.\r | |
46 | /// If it did not originally come from a firmware file, these should be NULL.\r | |
47 | ///\r | |
2f88bd3a | 48 | EFI_GUID *ParentFvName;\r |
dafa11b1 | 49 | ///\r |
50 | /// If the firmware volume originally came from a firmware file, then these\r | |
51 | /// point to the parent firmware volume name and firmware volume file.\r | |
52 | /// If it did not originally come from a firmware file, these should be NULL.\r | |
53 | ///\r | |
2f88bd3a | 54 | EFI_GUID *ParentFileName;\r |
5879b875 | 55 | };\r |
56 | \r | |
2f88bd3a | 57 | extern EFI_GUID gEfiPeiFirmwareVolumeInfoPpiGuid;\r |
5879b875 | 58 | \r |
59 | #endif\r |