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