]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - BaseTools/Source/C/Include/Common/VariableFormat.h
License header updated to match correct format.
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / VariableFormat.h
... / ...
CommitLineData
1/**@file\r
2 Header file for EFI Variable Services.\r
3\r
4 Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
5\r
6 This program and the accompanying materials are licensed and made available\r
7 under the terms and conditions of the BSD License which accompanies this\r
8 distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10 \r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef __VARIABLE_FORMAT_H__\r
17#define __VARIABLE_FORMAT_H__\r
18\r
19#define VARIABLE_DATA 0x55AA\r
20\r
21//\r
22// Variable Store Header flags\r
23//\r
24#define VARIABLE_STORE_FORMATTED 0x5a\r
25#define VARIABLE_STORE_HEALTHY 0xfe\r
26\r
27#pragma pack(1)\r
28\r
29typedef struct {\r
30 EFI_GUID Signature;\r
31 UINT32 Size;\r
32 UINT8 Format;\r
33 UINT8 State;\r
34 UINT16 Reserved;\r
35 UINT32 Reserved1;\r
36} VARIABLE_STORE_HEADER;\r
37\r
38typedef struct {\r
39 UINT16 StartId;\r
40 UINT8 State;\r
41 UINT8 Reserved;\r
42 UINT32 Attributes;\r
43 UINT32 NameSize;\r
44 UINT32 DataSize;\r
45 EFI_GUID VendorGuid;\r
46} VARIABLE_HEADER;\r
47\r
48#pragma pack()\r
49\r
50#endif // _EFI_VARIABLE_H_\r