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