]>
Commit | Line | Data |
---|---|---|
504214c4 | 1 | /** @file\r |
6426c8ff LG |
2 | This file defines variable info guid and variable info entry.\r |
3 | This guid is used to specify the variable list put in the EFI system table.\r | |
504214c4 | 4 | \r |
6426c8ff | 5 | Copyright (c) 2006 - 2009, Intel Corporation\r |
33a5a666 A |
6 | All rights reserved. This program and the accompanying materials\r |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this 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 | |
504214c4 | 14 | **/\r |
33a5a666 A |
15 | \r |
16 | #ifndef __VARIABLE_INFO_GUID_H__\r | |
17 | #define __VARIABLE_INFO_GUID_H__\r | |
18 | \r | |
33a5a666 A |
19 | #define EFI_VARIABLE_INFO_GUID \\r |
20 | { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d } }\r | |
21 | \r | |
22 | extern EFI_GUID gEfiVariableInfoGuid;\r | |
23 | \r | |
24 | \r | |
25 | typedef struct _VARIABLE_INFO_ENTRY VARIABLE_INFO_ENTRY;\r | |
26 | \r | |
ebafc55b | 27 | ///\r |
6426c8ff LG |
28 | /// This structure contains the variable list that is put in EFI system table.\r |
29 | /// The variable driver collects all used variables at boot service time and produce this list.\r | |
30 | /// This is an optional feature to dump all used variables in shell environment. \r | |
ebafc55b | 31 | ///\r |
33a5a666 | 32 | struct _VARIABLE_INFO_ENTRY {\r |
6426c8ff LG |
33 | VARIABLE_INFO_ENTRY *Next; ///> Pointer to next entry\r |
34 | EFI_GUID VendorGuid; ///> Guid of Variable \r | |
35 | CHAR16 *Name; ///> Name of Variable \r | |
36 | UINT32 Attributes; ///> Attributes of variable defined in UEFI spec\r | |
37 | UINT32 ReadCount; ///> Times to read this variable\r | |
38 | UINT32 WriteCount; ///> Times to write this variable\r | |
39 | UINT32 DeleteCount; ///> Times to delete this variable\r | |
40 | UINT32 CacheCount; ///> Times that cache hits this variable\r | |
41 | BOOLEAN Volatile; ///> TRUE if volatile FALSE if non-volatile\r | |
33a5a666 A |
42 | };\r |
43 | \r | |
33a5a666 | 44 | #endif\r |