]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | EfiFirmwareVolume.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | --*/\r | |
19 | \r | |
20 | #ifndef _EFI_FIRMWARE_VOLUME_H_\r | |
21 | #define _EFI_FIRMWARE_VOLUME_H_\r | |
22 | \r | |
23 | \r | |
24 | #define FV_DEVICE_SIGNATURE EFI_SIGNATURE_32 ('_', 'F', 'V', '_')\r | |
25 | #define EFI_FV_FILE_ATTRIB_ALIGNMENT 0x0000001F\r | |
26 | #define EFI_FV_UNRELIABLE_WRITE 0x00000000\r | |
27 | #define EFI_FV_RELIABLE_WRITE 0x00000001\r | |
28 | \r | |
29 | \r | |
30 | //\r | |
31 | // EFI_FV_ATTRIBUTES bit definitions\r | |
32 | //\r | |
33 | typedef UINT64 EFI_FV_ATTRIBUTES;\r | |
34 | typedef UINT32 EFI_FV_FILE_ATTRIBUTES;\r | |
35 | typedef UINT32 EFI_FV_WRITE_POLICY;\r | |
36 | \r | |
37 | \r | |
38 | typedef struct {\r | |
39 | EFI_GUID *NameGuid;\r | |
40 | EFI_FV_FILETYPE Type;\r | |
41 | EFI_FV_FILE_ATTRIBUTES FileAttributes;\r | |
42 | VOID *Buffer;\r | |
43 | UINT32 BufferSize;\r | |
44 | } EFI_FV_WRITE_FILE_DATA;\r | |
45 | \r | |
46 | #endif\r |