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>
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  ATA ATAPI Policy protocol is produced by platform and consumed by AtaAtapiPassThruDxe
 | 
						|
  driver.
 | 
						|
 | 
						|
  Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
 | 
						|
  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
**/
 | 
						|
#ifndef __ATA_ATAPI_POLICY_H__
 | 
						|
#define __ATA_ATAPI_POLICY_H__
 | 
						|
 | 
						|
#define EDKII_ATA_ATAPI_POLICY_PROTOCOL_GUID \
 | 
						|
  { \
 | 
						|
    0xe59cd769, 0x5083, 0x4f26,{ 0x90, 0x94, 0x6c, 0x91, 0x9f, 0x91, 0x6c, 0x4e } \
 | 
						|
  }
 | 
						|
 | 
						|
typedef struct {
 | 
						|
  ///
 | 
						|
  /// Protocol version.
 | 
						|
  ///
 | 
						|
  UINT32  Version;
 | 
						|
 | 
						|
  ///
 | 
						|
  /// 0: Disable Power-up in Standby;
 | 
						|
  /// 1: Enable Power-up in Standby;
 | 
						|
  /// others: Since PUIS setting is non-volatile, platform can use other value than 0/1 to keep hardware PUIS setting.
 | 
						|
  ///
 | 
						|
  UINT8   PuisEnable;
 | 
						|
 | 
						|
  ///
 | 
						|
  /// 0: Disable Device Sleep;
 | 
						|
  /// 1: Enable Device Sleep;
 | 
						|
  /// others: Ignored.
 | 
						|
  ///
 | 
						|
  UINT8   DeviceSleepEnable;
 | 
						|
 | 
						|
  ///
 | 
						|
  /// 0: Disable Aggressive Device Sleep;
 | 
						|
  /// 1: Enable Aggressive Device Sleep;
 | 
						|
  /// others: Ignored.
 | 
						|
  ///
 | 
						|
  UINT8   AggressiveDeviceSleepEnable;
 | 
						|
 | 
						|
  UINT8   Reserved;
 | 
						|
} EDKII_ATA_ATAPI_POLICY_PROTOCOL;
 | 
						|
 | 
						|
#define EDKII_ATA_ATAPI_POLICY_VERSION 0x00010000
 | 
						|
 | 
						|
 | 
						|
extern EFI_GUID gEdkiiAtaAtapiPolicyProtocolGuid;
 | 
						|
 | 
						|
#endif
 | 
						|
 |