]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Variable error flag definitions.\r | |
3 | \r | |
4 | Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _VARIABLE_ERROR_FLAG_H_\r | |
16 | #define _VARIABLE_ERROR_FLAG_H_\r | |
17 | \r | |
18 | //\r | |
19 | // Before EndOfDxe, the variable indicates the last boot variable error flag,\r | |
20 | // then it means the last boot variable error flag must be got before EndOfDxe.\r | |
21 | // After EndOfDxe, the variable indicates the current boot variable error flag,\r | |
22 | // then it means the current boot variable error flag must be got after EndOfDxe.\r | |
23 | //\r | |
24 | // If the variable is not present, it has the same meaning with VAR_ERROR_FLAG_NO_ERROR.\r | |
25 | //\r | |
26 | #define VAR_ERROR_FLAG_NAME L"VarErrorFlag"\r | |
27 | \r | |
28 | #define VAR_ERROR_FLAG_NO_ERROR 0xFF // 1111-1111\r | |
29 | #define VAR_ERROR_FLAG_SYSTEM_ERROR 0xEF // 1110-1111\r | |
30 | #define VAR_ERROR_FLAG_USER_ERROR 0xFE // 1111-1110\r | |
31 | \r | |
32 | typedef UINT8 VAR_ERROR_FLAG;\r | |
33 | \r | |
34 | #define EDKII_VAR_ERROR_FLAG_GUID { \\r | |
35 | 0x4b37fe8, 0xf6ae, 0x480b, { 0xbd, 0xd5, 0x37, 0xd9, 0x8c, 0x5e, 0x89, 0xaa } \\r | |
36 | };\r | |
37 | \r | |
38 | extern EFI_GUID gEdkiiVarErrorFlagGuid;\r | |
39 | \r | |
40 | #endif\r | |
41 | \r |