ACPI Overview
MOUNIKA.KETANA
14481D5517
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Contents
Power Management History
ACPI
ACPI States and Software
Components
ACPI History
Changing ACPI
Mobile
Architecture
Lab
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Power Management History
Advanced Power Management (APM)
BIOS-based system power management
Provides CPU and device power management
Called when idle - provides CPU power mgt.
Uses device activity timeouts to determine
when to transition devices into low power
states
OS has no knowledge of what APM does
Each IBV must refine and maintain APM BIOS
code/IP
Wide variety of implementations and
functionality
No uniform user experience
Mobile
Architecture
Lab
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
ACPI
Advanced Configuration and Power Interface
An interface specification
Conceived by Intel, Microsoft, and Toshiba (the
promoters)
ACPI/OSPM replaces APM, MPS, and PnP BIOS Spec
Allow OS-directed Power Management
(OSPM)
Defines
Hardware registers - implemented in chipset silicon
BIOS interfaces
Configuration tables
Interpreted executable function interface (Control Methods)
Motherboard device enumeration and configuration
System and device power states
ACPI Thermal Model
Mobile
Architecture
Lab
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
ACPI Global States and
Transitions
Power
Failure
Modem
D3
HDD
D3
D2
Legacy
Boot
(SCI_EN=0)
D2
D1
G3 -Mech
Off
D0
CDROM
D3
CPU
C3
D2
D1
D1
D0
C2
C0
D0
C1
C0
ACPI
Boot
(SCI_EN=1)
BIOS
Routine
S4BIOS_F
S4BIOS_REQ
ACPI_ENABLE
(SCI_EN=1)
G0 (S0) Working
Legacy
S4
SLP_TYPx=(S1-S4)
and
SLP_EN
S3
S2
S1
ACPI_DISABLE
(SCI_EN=0)
Wake
Event
ACPI
Boot
(SCI_EN=1)
Legacy
Boot
(SCI_EN=0)
Mobile
Architecture
Lab
G2 (S5) Soft Off
SLP_TYPx=S
5
and
SLP_EN
or
PWRBTN_OR
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
G1 Sleeping
An ACPI System
User Interface
Operating System
Policy
Manager
Device
Drivers
ACPI
Subsystem
ACPIRelated
Hardware /
ACPI BIOS
Mobile
Architecture
Lab
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
ACPI Software Components
ACPI Subsystem
Consumes ACPI BIOS
Interacts with ACPI Hardware
Policy Manager (OSPM)
Sets and Monitors System Policies
User Interface
Allows User Input to Policy
Device Drivers
EC, SM Bus, CM Battery, Smart Battery
Mobile
Architecture
Lab
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
ACPI System Overview
O S
D ependent
A p p lic a tio n
A P Is
A p p lic a tio n s
K e rn e l
D e v ic e
D r iv e r
O S P M S y s te m C o d e
A C P I D r iv e r /
A M L In t e r p r e t e r
A C P I T a b le
In te r fa c e
ACPI
R e g is te r
In te rfa c e
E x is tin g
in d u s try
s ta n d a rd
r e g is te r
in te rfa c e s to :
C M O S , P IC ,
P IT s , ...
O S S p e c ific
te c h n o lo g ie s ,
in te r fa c e s , a n d c o d e .
A C P I B IO S
In te r fa c e
A C P I R e g is te r s
A C P I B IO S
O S
In d e p e n d e n t
te c h n o lo g ie s ,
in te rfa c e s ,
code, and
h a rd w a re .
A C P I T a b le s
P la tfo r m H a rd w a r e
Mobile
Architecture
Lab
- A C P I S p e c C o v e rs th is a re a .
- O S s p e c ific te c h n o lo g y
B IO S
- H a rd w a re /P la tfo rm
- P r o v id e d b y A C P I C A
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
ACPI Specification History
ACPI 1.0 released December 1996
ACPI 1.0a released July 1998
ACPI 1.0b released February 1999
ACPI 2.0 released July 2000
Mobile
Architecture
Lab
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
How does ACPI change?
Periodic errata meetings held with
promoters
Either spec is updated (e.g. 1.0a, 1.0B, etc)
or an errata document is posted on the
ACPI site: http://www.acpi.info
Mobile
Architecture
Lab
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.