]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/AtaAtapiPolicy.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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
1436aea4 9\r
f87a1e41
RN
10#ifndef __ATA_ATAPI_POLICY_H__\r
11#define __ATA_ATAPI_POLICY_H__\r
12\r
13#define EDKII_ATA_ATAPI_POLICY_PROTOCOL_GUID \\r
14 { \\r
15 0xe59cd769, 0x5083, 0x4f26,{ 0x90, 0x94, 0x6c, 0x91, 0x9f, 0x91, 0x6c, 0x4e } \\r
16 }\r
17\r
18typedef struct {\r
19 ///\r
20 /// Protocol version.\r
21 ///\r
1436aea4 22 UINT32 Version;\r
f87a1e41
RN
23\r
24 ///\r
25 /// 0: Disable Power-up in Standby;\r
26 /// 1: Enable Power-up in Standby;\r
27 /// others: Since PUIS setting is non-volatile, platform can use other value than 0/1 to keep hardware PUIS setting.\r
28 ///\r
1436aea4 29 UINT8 PuisEnable;\r
f87a1e41
RN
30\r
31 ///\r
32 /// 0: Disable Device Sleep;\r
33 /// 1: Enable Device Sleep;\r
34 /// others: Ignored.\r
35 ///\r
1436aea4 36 UINT8 DeviceSleepEnable;\r
f87a1e41
RN
37\r
38 ///\r
39 /// 0: Disable Aggressive Device Sleep;\r
40 /// 1: Enable Aggressive Device Sleep;\r
41 /// others: Ignored.\r
42 ///\r
1436aea4 43 UINT8 AggressiveDeviceSleepEnable;\r
f87a1e41 44\r
1436aea4 45 UINT8 Reserved;\r
f87a1e41
RN
46} EDKII_ATA_ATAPI_POLICY_PROTOCOL;\r
47\r
1436aea4 48#define EDKII_ATA_ATAPI_POLICY_VERSION 0x00010000\r
f87a1e41 49\r
1436aea4 50extern EFI_GUID gEdkiiAtaAtapiPolicyProtocolGuid;\r
f87a1e41
RN
51\r
52#endif\r