]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Include/EfiFirmwareVolume.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Include / EfiFirmwareVolume.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2007 , Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 EfiFirmwareVolume.h\r
15\r
16Abstract:\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
33typedef UINT64 EFI_FV_ATTRIBUTES;\r
34typedef UINT32 EFI_FV_FILE_ATTRIBUTES;\r
35typedef UINT32 EFI_FV_WRITE_POLICY;\r
36\r
37\r
38typedef 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