]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/AtaAtapiPolicy.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / AtaAtapiPolicy.h
CommitLineData
f87a1e41
RN
1/** @file\r
2 ATA ATAPI Policy protocol is produced by platform and consumed by AtaAtapiPassThruDxe\r
3 driver.\r
4\r
5 Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
9d510e61 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
f87a1e41
RN
7\r
8**/\r
9#ifndef __ATA_ATAPI_POLICY_H__\r
10#define __ATA_ATAPI_POLICY_H__\r
11\r
12#define EDKII_ATA_ATAPI_POLICY_PROTOCOL_GUID \\r
13 { \\r
14 0xe59cd769, 0x5083, 0x4f26,{ 0x90, 0x94, 0x6c, 0x91, 0x9f, 0x91, 0x6c, 0x4e } \\r
15 }\r
16\r
17typedef struct {\r
18 ///\r
19 /// Protocol version.\r
20 ///\r
21 UINT32 Version;\r
22\r
23 ///\r
24 /// 0: Disable Power-up in Standby;\r
25 /// 1: Enable Power-up in Standby;\r
26 /// others: Since PUIS setting is non-volatile, platform can use other value than 0/1 to keep hardware PUIS setting.\r
27 ///\r
28 UINT8 PuisEnable;\r
29\r
30 ///\r
31 /// 0: Disable Device Sleep;\r
32 /// 1: Enable Device Sleep;\r
33 /// others: Ignored.\r
34 ///\r
35 UINT8 DeviceSleepEnable;\r
36\r
37 ///\r
38 /// 0: Disable Aggressive Device Sleep;\r
39 /// 1: Enable Aggressive Device Sleep;\r
40 /// others: Ignored.\r
41 ///\r
42 UINT8 AggressiveDeviceSleepEnable;\r
43\r
44 UINT8 Reserved;\r
45} EDKII_ATA_ATAPI_POLICY_PROTOCOL;\r
46\r
47#define EDKII_ATA_ATAPI_POLICY_VERSION 0x00010000\r
48\r
49\r
50extern EFI_GUID gEdkiiAtaAtapiPolicyProtocolGuid;\r
51\r
52#endif\r
53\r