]>
Commit | Line | Data |
---|---|---|
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 | |
c7935105 SZ |
15 | #define EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI_GUID \\r |
16 | { 0xea7ca24b, 0xded5, 0x4dad, { 0xa3, 0x89, 0xbf, 0x82, 0x7e, 0x8f, 0x9b, 0x38 } }\r | |
17 | \r | |
2f88bd3a | 18 | typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI;\r |
c7935105 SZ |
19 | \r |
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 | |
c7935105 SZ |
24 | /// the PI Firmware Volume format.\r |
25 | ///\r | |
26 | struct _EFI_PEI_FIRMWARE_VOLUME_INFO2_PPI {\r | |
27 | ///\r | |
28 | /// Unique identifier of the format of the memory-mapped firmware volume.\r | |
29 | ///\r | |
2f88bd3a | 30 | EFI_GUID FvFormat;\r |
c7935105 SZ |
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 |
c7935105 SZ |
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 |
c7935105 SZ |
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 |
c7935105 SZ |
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 |
c7935105 SZ |
55 | ///\r |
56 | /// Authentication Status.\r | |
57 | ///\r | |
2f88bd3a | 58 | UINT32 AuthenticationStatus;\r |
c7935105 SZ |
59 | };\r |
60 | \r | |
2f88bd3a | 61 | extern EFI_GUID gEfiPeiFirmwareVolumeInfo2PpiGuid;\r |
c7935105 SZ |
62 | \r |
63 | #endif\r |