Last change
on this file since 108794 was 99404, checked in by vboxsync, 2 years ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.2 KB
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.