摘要 |
A computer system has a central processing unit (CPU), a memory, a first power management routine, a second power management routine, a clock generator, an event controller, and a system controller for implementing a bus. The system controller uses a host clock signal that determines the operating frequency of the bus. The clock generator generates the host clock signal. The first power management routine has computer code that saves state information of the computer system in the memory and that places the system controller into an idle state. The second power management routine restores the computer system using the state information stored in the memory. The event controller sends an interrupt to the system controller to cause the CPU to execute the first power management routine, causes the clock generator to change the host clock signal to a new frequency while the system controller is in the idle state, activates the system controller after the host clock signal has changed to the new frequency, and causes the CPU to execute the second power management routine. By changing the host clock signal to the new frequency when the system controller is in the idle state, the event controller prevents the system controller from crashing. By changing the frequency of the host clock signal, the operating frequency of the bus is changed, and by changing the operating frequency of the bus the total power consumption of the computer system is changed.
|