CPU power management in non-APM systems
AssigneeIntel Corporation
InventorDan Howard Nowlin, Jr.
Life of this patent
Estimating the term…
Abstract
In order to save power in a computer system which lacks an APM BIOS or similar built-in power management facility, a power management V.times.D is hooked into the idle callback chain in such a way that it is the last device driver to receive an idle callback. Upon receipt of an idle callback, the power management V.times.D causes the CPU to enter a low-power consumption state. For processors that support a halt state, this may be done by issuing a HLT instruction to the CPU. Control returns to the power management V.times.D upon subsequent occurrence of an external interrupt, after which the power management V.times.D consumes the idle and returns control to the operating system.
Claims10
A method for conserving power in a computer system lacking an integrated power management facility, the computer system including a processor capable of operating in a reduced power consumption mode, said method comprising the steps of:
- (a) loading a power management virtual device driver (V.times.D) onto the computer system, including assigning a lowest initialization order value to said power management V.times.D;
- (b) hooking said power management V.times.D into an idle callback chain of the computer system such that said power management V.times.D receives an idle callback after all other loaded device drivers receive idle callbacks;
- and
- (c) upon receipt of an idle callback by said power management V.times.D, executing an instruction from said power management V.times.D which causes the processor to enter the reduced power consumption mode.
A computer system configured for operating in a low-power state in the absence of an integrated power management BIOS, said computer system comprising a processor capable of operating in a reduced power consumption mode, a virtual machine manager controlling one or more virtual device drivers loaded on the computer system, wherein said virtual machine manager sequentially invokes said one or more virtual device drivers using an idle callback interrupt chain, and a power management driver, said power management driver comprising a virtual device driver which is assigned a lowest initialization order value to said power management driver and including program code for causing said processor to operate in said reduced power consumption mode upon receipt of a signal indicating that said computer system is in an idle state, said siginal comprising an idle callback signal propagated through said idle callback interrupt chain.
A method for conserving power in a Windows.RTM.-based computer system lacking an APM BIOS, the computer system including a processor capable of operating in a reduced power state, an operating system, and a virtual machine manager which processes an idle callback chain when the operating system determines that all active software routines are in an idle state, said method comprising the steps of:
- (a) loading a power management virtual device driver (V.times.D) onto the computer system, said power management V.times.D having a lowest load order of all loaded virtual device drivers;
- (b) hooking said power management V.times.D into the idle callback chain such that said power management V.times.D receives an idle callback after all other loaded virtual device drivers receive idle callbacks;
- (c) causing said processor to enter its reduced power state upon receipt of an idle callback by said power management V.times.D, wherein said power management V.times.D passes control to said processor;
- (d) terminating the reduced power state of said processor upon occurrence of an external interrupt, wherein said processor passes control back to said power management V.times.D;
- and
- (e) instructing the virtual machine manager to terminating processing of the idle callback chain.
Dependencies are inferred from the claim text.