VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Protocol/AtaAtapiPolicy.h@ 95057

最後變更 在這個檔案從95057是 80721,由 vboxsync 提交於 5 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
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#ifndef __ATA_ATAPI_POLICY_H__
10#define __ATA_ATAPI_POLICY_H__
11
12#define EDKII_ATA_ATAPI_POLICY_PROTOCOL_GUID \
13 { \
14 0xe59cd769, 0x5083, 0x4f26,{ 0x90, 0x94, 0x6c, 0x91, 0x9f, 0x91, 0x6c, 0x4e } \
15 }
16
17typedef struct {
18 ///
19 /// Protocol version.
20 ///
21 UINT32 Version;
22
23 ///
24 /// 0: Disable Power-up in Standby;
25 /// 1: Enable Power-up in Standby;
26 /// others: Since PUIS setting is non-volatile, platform can use other value than 0/1 to keep hardware PUIS setting.
27 ///
28 UINT8 PuisEnable;
29
30 ///
31 /// 0: Disable Device Sleep;
32 /// 1: Enable Device Sleep;
33 /// others: Ignored.
34 ///
35 UINT8 DeviceSleepEnable;
36
37 ///
38 /// 0: Disable Aggressive Device Sleep;
39 /// 1: Enable Aggressive Device Sleep;
40 /// others: Ignored.
41 ///
42 UINT8 AggressiveDeviceSleepEnable;
43
44 UINT8 Reserved;
45} EDKII_ATA_ATAPI_POLICY_PROTOCOL;
46
47#define EDKII_ATA_ATAPI_POLICY_VERSION 0x00010000
48
49
50extern EFI_GUID gEdkiiAtaAtapiPolicyProtocolGuid;
51
52#endif
53
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette