https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  Variable error flag definitions.
 | 
						|
 | 
						|
  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
 | 
						|
  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
#ifndef _VARIABLE_ERROR_FLAG_H_
 | 
						|
#define _VARIABLE_ERROR_FLAG_H_
 | 
						|
 | 
						|
//
 | 
						|
// Before EndOfDxe, the variable indicates the last boot variable error flag,
 | 
						|
// then it means the last boot variable error flag must be got before EndOfDxe.
 | 
						|
// After EndOfDxe, the variable indicates the current boot variable error flag,
 | 
						|
// then it means the current boot variable error flag must be got after EndOfDxe.
 | 
						|
//
 | 
						|
// If the variable is not present, it has the same meaning with VAR_ERROR_FLAG_NO_ERROR.
 | 
						|
//
 | 
						|
#define VAR_ERROR_FLAG_NAME             L"VarErrorFlag"
 | 
						|
 | 
						|
#define VAR_ERROR_FLAG_NO_ERROR         0xFF // 1111-1111
 | 
						|
#define VAR_ERROR_FLAG_SYSTEM_ERROR     0xEF // 1110-1111
 | 
						|
#define VAR_ERROR_FLAG_USER_ERROR       0xFE // 1111-1110
 | 
						|
 | 
						|
typedef UINT8 VAR_ERROR_FLAG;
 | 
						|
 | 
						|
#define EDKII_VAR_ERROR_FLAG_GUID { \
 | 
						|
  0x4b37fe8, 0xf6ae, 0x480b, { 0xbd, 0xd5, 0x37, 0xd9, 0x8c, 0x5e, 0x89, 0xaa } \
 | 
						|
};
 | 
						|
 | 
						|
extern EFI_GUID gEdkiiVarErrorFlagGuid;
 | 
						|
 | 
						|
#endif
 | 
						|
 |