D3 cold for storport miniport
来源:互联网 发布:python学习资料 编辑:程序博客网 时间:2024/05/29 03:58
Mark。。。
http://msdn.microsoft.com/en-us/library/windows/hardware/hh920421(v=vs.85).aspx
A miniport driver calls StorPortInitializePoFxPower to register a storage device with the power management framework (PoFx).
Syntax
ULONG StorPortInitializePoFxPower( _In_ PVOID HwDeviceExtension, _In_opt_ PSTOR_ADDRESS Address, _In_ PSTOR_POFX_DEVICE Device, _Inout_ PBOOLEAN D3ColdEnabled);
Parameters
- HwDeviceExtension [in]
A pointer to the hardware device extension for the host bus adapter (HBA).
- Address [in, optional]
The address of a storage device unit. This parameter is NULL when registering for a storage adapter.
- Device [in]
A pointer to a STOR_POFX_DEVICE_V2 structure cast to a pointer to STOR_POFX_DEVICE. This structure contains a component list with F-states for a storage device.
- D3ColdEnabled [in, out]
A pointer to a BOOLEAN value which the Storport driver will set to indicate whether the D3 Cold state is enabled for the storage device.
Return value
The StorPortInitializePoFxPower routine returns one of these status codes:
- STOR_STATUS_INVALID_PARAMETER
Either HwDeviceExtension or Device is NULL.
-or-
Address points to an invalid unit address structure.
-or-
The storage device specified by Address is not found.
-or-
The STOR_POFX_DEVICE structure pointed to by Device is formatted incorrectly or contains invalid data.
- STOR_STATUS_SUCCESS
The storage device was successfully registered with PoFx.
- STOR_STATUS_INSUFFICIENT_RESOURCES
Sufficient resources are not available to register the storage device with PoFx.
- STOR_STATUS_UNSUCCESSFUL
The storage device was not successfully registered with PoFx.
-or-
The storage device is already registered with PoFx.
Remarks
Adapter devices are always registered with a NULL value for address. Unit devices are registered by specifying a valid unit address for address.
If the STOR_POFX_DEVICE_FLAG_ENABLE_D3_COLD flag is set in the Flags member of Device, Storport will attempt to enable D3 Cold support for the device component. The D3 Cold enabled status is returned in the BOOLEAN value pointed to by D3ColdEnabled.
Requirements
Version
Header
- Storport.h
See also
- STOR_POFX_DEVICE
- D3 cold for storport miniport
- miniport
- miniport
- Storport MSI (Message Signaled Interrupts)
- d3
- D3
- d3
- D3
- D3
- D3
- D3
- D3
- COLD MOUNTAIN
- cold fusion
- Cold Case
- Cold Case
- Cold Fusion
- 编写虚拟Storport小端口驱动程序
- VC++ 8.0 (2008) 作 office12 msword 二次开发的头文件修改方法
- NFS根文件系统制作
- android时间自动同步
- 判断两个图片是否相同
- Ant 打包混淆时候出错
- D3 cold for storport miniport
- 《orange'S一个操作系统的实现》 笔记
- 内核线程
- JSP+java模式1 用户登录查询界面
- 深入Linux设备驱动程序内核机制- 扫描版-有书签目录40M
- yaffs2文件系统制作
- C++类模板的三种特化类型
- 工作总结linux命令
- C++模板的特化