]>
Commit | Line | Data |
---|---|---|
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 | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | #ifndef __ATA_ATAPI_POLICY_H__\r | |
16 | #define __ATA_ATAPI_POLICY_H__\r | |
17 | \r | |
18 | #define EDKII_ATA_ATAPI_POLICY_PROTOCOL_GUID \\r | |
19 | { \\r | |
20 | 0xe59cd769, 0x5083, 0x4f26,{ 0x90, 0x94, 0x6c, 0x91, 0x9f, 0x91, 0x6c, 0x4e } \\r | |
21 | }\r | |
22 | \r | |
23 | typedef struct {\r | |
24 | ///\r | |
25 | /// Protocol version.\r | |
26 | ///\r | |
27 | UINT32 Version;\r | |
28 | \r | |
29 | ///\r | |
30 | /// 0: Disable Power-up in Standby;\r | |
31 | /// 1: Enable Power-up in Standby;\r | |
32 | /// others: Since PUIS setting is non-volatile, platform can use other value than 0/1 to keep hardware PUIS setting.\r | |
33 | ///\r | |
34 | UINT8 PuisEnable;\r | |
35 | \r | |
36 | ///\r | |
37 | /// 0: Disable Device Sleep;\r | |
38 | /// 1: Enable Device Sleep;\r | |
39 | /// others: Ignored.\r | |
40 | ///\r | |
41 | UINT8 DeviceSleepEnable;\r | |
42 | \r | |
43 | ///\r | |
44 | /// 0: Disable Aggressive Device Sleep;\r | |
45 | /// 1: Enable Aggressive Device Sleep;\r | |
46 | /// others: Ignored.\r | |
47 | ///\r | |
48 | UINT8 AggressiveDeviceSleepEnable;\r | |
49 | \r | |
50 | UINT8 Reserved;\r | |
51 | } EDKII_ATA_ATAPI_POLICY_PROTOCOL;\r | |
52 | \r | |
53 | #define EDKII_ATA_ATAPI_POLICY_VERSION 0x00010000\r | |
54 | \r | |
55 | \r | |
56 | extern EFI_GUID gEdkiiAtaAtapiPolicyProtocolGuid;\r | |
57 | \r | |
58 | #endif\r | |
59 | \r |