27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Power</strong> <strong>and</strong> Performance Management<br />

• Devices that are enabled to wake the system <strong>and</strong> that can do so from their current device state<br />

can initiate a hardware event that transitions the system state to S0. This transition causes the<br />

processor to begin execution at its boot location. The BIOS performs initialization of core<br />

functions as necessary to exit an S3 state <strong>and</strong> passes control to the firmware resume vector. See<br />

Section 16.3.2, “BIOS Initialization of Memory,” for more details on BIOS initialization.<br />

From the software viewpoint, this state is functionally the same as the S2 state. The operational<br />

difference can be that some <strong>Power</strong> Resources that could be left ON to be in the S2 state might not be<br />

available to the S3 state. As such, additional devices may need to be in a deeper state for S3 than S2.<br />

Similarly, some device wake events can function in S2 but not S3.<br />

Because the processor context can be lost while in the S3 state, the transition to the S3 state requires<br />

that the operating software flush all dirty cache to DRAM.<br />

7.4.2.5 System \_S4 State<br />

While the system is in this state, it is in the system S4 sleeping state. The state is logically deeper<br />

than the S3 state <strong>and</strong> is assumed to conserve more power. The behavior of this state is defined as<br />

follows:<br />

• The processors are not executing instructions. The processor-complex context is not maintained.<br />

• DRAM context is not maintained.<br />

• <strong>Power</strong> Resources are in a state compatible with the system S4 state. All <strong>Power</strong> Resources that<br />

supply a System-Level reference of S0, S1, S2, or S3 are in the OFF state.<br />

• Devices states are compatible with the current <strong>Power</strong> Resource states. In other words, all devices<br />

are in the D3 state when the system state is S4.<br />

• Devices that are enabled to wake the system <strong>and</strong> that can do so from their device state in S4 can<br />

initiate a hardware event that transitions the system state to S0. This transition causes the<br />

processor to begin execution at its boot location.<br />

After OSPM has executed the _PTS control method <strong>and</strong> has put the entire system state into main<br />

memory, there are two ways that OSPM may h<strong>and</strong>le the next phase of the S4 state transition; saving<br />

<strong>and</strong> restoring main memory. The first way is to use the operating system's drivers to access the disks<br />

<strong>and</strong> file system structures to save a copy of memory to disk <strong>and</strong> then initiate the hardware S4<br />

sequence by setting the SLP_EN register bit. When the system wakes, the firmware performs a<br />

normal boot process <strong>and</strong> transfers control to the OS via the firmware_waking_vector loader. The OS<br />

then restores the system's memory <strong>and</strong> resumes execution.<br />

The alternate method for entering the S4 state is to utilize the BIOS via the S4BIOS transition. The<br />

BIOS uses firmware to save a copy of memory to disk <strong>and</strong> then initiates the hardware S4 sequence.<br />

When the system wakes, the firmware restores memory from disk <strong>and</strong> wakes OSPM by transferring<br />

control to the FACS waking vector.<br />

The S4BIOS transition is optional, but any system that supports this mechanism must support<br />

entering the S4 state via the direct OS mechanism. Thus the preferred mechanism for S4 support is<br />

the direct OS mechanism as it provides broader platform support. The alternate S4BIOS transition<br />

provides a way to achieve S4 support on operating systems that do not have support for the direct<br />

method.<br />

Version 6.0 413

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!