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