中圖分類號(hào): TN91,;TP39 文獻(xiàn)標(biāo)識(shí)碼: A DOI:10.16157/j.issn.0258-7998.200046 中文引用格式: 王法臻,,崔少輝,王成. PCIe設(shè)備功耗管理驅(qū)動(dòng)程序的開(kāi)發(fā)[J].電子技術(shù)應(yīng)用,,2020,,46(12):89-93. 英文引用格式: Wang Fazhen,Cui Shaohui,,Wang Cheng. Development of driver for PCIe device power management[J]. Application of Electronic Technique,,2020,46(12):89-93.
Development of driver for PCIe device power management
Wang Fazhen,,Cui Shaohui,,Wang Cheng
Shijiazhang Campus of Army Engineering University,Shijiazhuang 050003,,China
Abstract: As the number of PCIe devices used in computer systems increases, timely adjusting the power management state of the device can effectively reduce power consumption. The operating system and drivers need to cooperate with each other to complete the control for the PCIe device′s power management. Based on the research and analysis of the Windows operating system′s power management technology and the WDF, this paper introduces the processing flow of I/O requests and the principle of queue′s usage, as well as designs the solutions based on I/O request processing, power state transitions and framework property settings to achieve device hibernation and wake-up. Moreover, there are some codes shown to prove the feasibility of the design.
Key words : WDF,;power management,;power controlling;I/O request,;PCIe