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