Component Overview

Download Report

Transcript Component Overview

ACPI Overview
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
Legacy
B oot
(SCI_EN =0)
Modem
HDD
CDROM
CPU
D3
D3
D3
C3
D2
D2
D2
C2
D1
D1
D1
C1
D0
C0
D0
D0
G3 -Mech
Off
C0
A CPI
B oot
(SCI_EN =1)
S4BIOS_F
S4BIOS_REQ
BIOS
Routine
A CPI_EN A BLE
(SCI_EN =1)
G0 (S0) Working
Legacy
SLP_TYPx=(S1-S4)
and
SLP_EN
A CPI_D ISA BLE
(SCI_EN =0)
W ake
Event
A CPI
B oot
(SCI_EN =1)
Legacy
B oot
(SCI_EN =0)
Mobile
Architecture
Lab
SLP_TYPx=S
5
and
SLP_EN
or
PW R BTN_OR
G2 (S5) Soft Off
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
S4
S3
S2
S1
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
OS
Dependent
Application
APIs
Applications
Kernel
Device
Driver
OSPM System Code
ACPI Driver/
AML Interpreter
ACPI Table
Interface
ACPI
Register
Interface
Existing
industry
standard
register
interfaces to:
CMOS, PIC,
PITs, ...
OS Specific
technologies,
interfaces, and code.
ACPI BIOS
Interface
ACPI Registers
ACPI BIOS
OS
Independent
technologies,
interfaces,
code, and
hardware.
ACPI Tables
Platform Hardware
Mobile
Architecture
Lab
- ACPI Spec Covers this area.
- OS specific technology
BIOS
- Hardware/Platform
- Provided by ACPI CA
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.