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