09.02.2015 Views

ACPI Overview

ACPI Overview

ACPI Overview

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ACPI</strong> <strong>Overview</strong><br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.


Contents<br />

Power Management History<br />

<strong>ACPI</strong><br />

<strong>ACPI</strong> States and Software<br />

Components<br />

<strong>ACPI</strong> History<br />

Changing <strong>ACPI</strong><br />

ile hitecture<br />

b<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.


Power Management History<br />

Advanced Power Management (APM)<br />

✟<br />

✟<br />

✟<br />

✟<br />

✟<br />

✟<br />

✟<br />

BIOS-based system power management<br />

Provides CPU and device power management<br />

Called when idle - provides CPU power mgt.<br />

Uses device activity timeouts to determine when to<br />

transition devices into low power states<br />

OS has no knowledge of what APM does<br />

Each IBV must refine and maintain APM BIOS<br />

code/IP<br />

Wide variety of implementations and functionality<br />

No uniform user experience<br />

ile hitecture<br />

b<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.


<strong>ACPI</strong><br />

Advanced Configuration and Power Interface<br />

✟<br />

ile hitecture<br />

b<br />

Conceived by Intel, Microsoft, and Toshiba (the<br />

promoters)<br />

An “interface”specification<br />

✟<br />

<strong>ACPI</strong>/OSPM replaces APM, MPS, and PnP BIOS Spec<br />

Allow OS-directed Power Management (OSPM)<br />

Defines<br />

✟<br />

✟<br />

✟<br />

✟<br />

Hardware registers - implemented in chipset silicon<br />

BIOS interfaces<br />

Configuration tables<br />

Interpreted executable function interface (Control Methods)<br />

Motherboard device enumeration and configuration<br />

System and device power states<br />

<strong>ACPI</strong> Thermal Model<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.


<strong>ACPI</strong> Global States and<br />

Transitions<br />

Legacy<br />

Boot<br />

(SCI_EN=0)<br />

G3 -Mech<br />

Off<br />

Power<br />

Failure<br />

<strong>ACPI</strong><br />

Boot<br />

(SCI_EN=1)<br />

Modem HDD<br />

D3 D3 D3<br />

D2 D2 D2<br />

D1 D1 D1<br />

D0 D0 D0<br />

C0<br />

CDROM<br />

C0<br />

CPU<br />

C3<br />

C2<br />

C1<br />

Legacy<br />

Legacy<br />

Boot<br />

(SCI_EN=0)<br />

ile hitecture<br />

b<br />

<strong>ACPI</strong>_ENABLE<br />

(SCI_EN=1)<br />

<strong>ACPI</strong>_DISABLE<br />

(SCI_EN=0)<br />

G2 (S5) -<br />

Soft Off<br />

<strong>ACPI</strong><br />

Boot<br />

(SCI_EN=1)<br />

SLP_TYPx=S<br />

5<br />

and<br />

SLP_EN<br />

or<br />

PWRBTN_OR<br />

G0 (S0) -<br />

Working<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.<br />

S4BIOS_F<br />

S4BIOS_REQ<br />

SLP_TYPx=(S1-S4)<br />

and<br />

SLP_EN<br />

Wake<br />

Event<br />

BIOS<br />

Routin<br />

S4<br />

S3<br />

S2<br />

S1<br />

G1 -<br />

Sleeping


An <strong>ACPI</strong> System<br />

User Interface<br />

Operating System<br />

Policy<br />

Manager<br />

Device<br />

Drivers<br />

<strong>ACPI</strong><br />

Subsystem<br />

<strong>ACPI</strong>-<br />

Related<br />

Hardware /<br />

<strong>ACPI</strong> BIOS<br />

ile hitecture<br />

b<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.


<strong>ACPI</strong> Software Components<br />

<strong>ACPI</strong> Subsystem<br />

✟<br />

✟<br />

Consumes <strong>ACPI</strong> BIOS<br />

Interacts with <strong>ACPI</strong> Hardware<br />

Policy Manager (OSPM)<br />

✟<br />

✟<br />

Sets and Monitors System Policies<br />

User Interface<br />

Allows User Input to Policy<br />

Device Drivers<br />

✟<br />

EC, SM Bus, CM Battery, Smart Battery<br />

ile hitecture<br />

b<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.


<strong>ACPI</strong> System <strong>Overview</strong><br />

Applications<br />

Kernel<br />

OS<br />

Dependent<br />

Application<br />

APIs<br />

OSPM System Code<br />

Device<br />

Driver<br />

<strong>ACPI</strong> Driver/<br />

AML Interpreter<br />

OS Specific<br />

technologies,<br />

interfaces, and code.<br />

Existing<br />

industry<br />

standard<br />

register<br />

interfaces to:<br />

CMOS, PIC,<br />

PITs, ...<br />

<strong>ACPI</strong><br />

Register<br />

Interface<br />

<strong>ACPI</strong> Registers<br />

<strong>ACPI</strong> BIOS<br />

Interface<br />

<strong>ACPI</strong> BIOS<br />

<strong>ACPI</strong> Table<br />

Interface<br />

<strong>ACPI</strong> Tables<br />

OS<br />

Independent<br />

technologies,<br />

interfaces,<br />

code, and<br />

hardware.<br />

ile hitecture<br />

b<br />

- <strong>ACPI</strong> Spec Covers this area.<br />

- OS specific technology<br />

Platform Hardware<br />

- Hardware/Platform<br />

- Provided by <strong>ACPI</strong> CA<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.<br />

BIOS


<strong>ACPI</strong> Specification History<br />

<strong>ACPI</strong> 1.0 released December 1996<br />

<strong>ACPI</strong> 1.0a released July 1998<br />

<strong>ACPI</strong> 1.0b released February 1999<br />

<strong>ACPI</strong> 2.0 released July 2000<br />

ile hitecture<br />

b<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.


How does <strong>ACPI</strong> change<br />

Periodic errata meetings held with promoters<br />

Either spec is updated (e.g. 1.0a, 1.0B, etc) or a<br />

errata document is posted on the <strong>ACPI</strong> site:<br />

http://www.acpi<br />

acpi.info<br />

ile hitecture<br />

b<br />

Note: Third Party Brands and Trademarks are Property of Their Respective Owners.

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

Saved successfully!

Ooh no, something went wrong!