ACPI Overview (5)
-
Upload
mani-bharath-nuti -
Category
Documents
-
view
242 -
download
0
description
Transcript of ACPI Overview (5)
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
ACPI OverviewACPI Overview
MOUNIKA.KETANAMOUNIKA.KETANA
14481D551714481D5517
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
ContentsContents
Power Management HistoryPower Management History ACPIACPI ACPI States and Software ACPI States and Software
ComponentsComponents ACPI HistoryACPI History Changing ACPIChanging ACPI
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
Power Management HistoryPower Management History
Advanced Power Management (APM)Advanced Power Management (APM) BIOS-based system power managementBIOS-based system power management Provides CPU and device power managementProvides CPU and device power management Called when idle - provides CPU power mgt.Called when idle - provides CPU power mgt. Uses device activity timeouts to determine Uses device activity timeouts to determine
when to transition devices into low power when to transition devices into low power statesstates
OS has no knowledge of what APM doesOS has no knowledge of what APM does Each IBV must refine and maintain APM BIOS Each IBV must refine and maintain APM BIOS
code/IPcode/IP Wide variety of implementations and Wide variety of implementations and
functionality functionality No uniform user experienceNo uniform user experience
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
ACPIACPI
Advanced Configuration and Power InterfaceAdvanced Configuration and Power Interface Conceived by Intel, Microsoft, and Toshiba (the Conceived by Intel, Microsoft, and Toshiba (the
promoters)promoters)
An “interface” specificationAn “interface” specification ACPI/OSPM replaces APM, MPS, and PnP BIOS SpecACPI/OSPM replaces APM, MPS, and PnP BIOS Spec
Allow OS-directed Power Management Allow OS-directed Power Management (OSPM)(OSPM)
Defines Defines Hardware registers - implemented in chipset siliconHardware registers - implemented in chipset silicon BIOS interfacesBIOS interfaces
Configuration tablesConfiguration tables Interpreted executable function interface (Control Methods)Interpreted executable function interface (Control Methods) Motherboard device enumeration and configurationMotherboard device enumeration and configuration
System and device power statesSystem and device power states ACPI Thermal ModelACPI Thermal Model
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
ACPI Global States and ACPI Global States and TransitionsTransitions
S4BIOS_FS4BIOS_REQ
ACPI_DISABLE(SCI_EN=0)
G3 -MechOff
LegacyBoot
(SCI_EN=0)
LegacyBoot
(SCI_EN=0)
ACPI_ENABLE(SCI_EN=1)
Legacy
SLP_TYPx=S5
andSLP_EN
orPWRBTN_OR
WakeEvent
C0
G0 (S0) -Working
G1 -Sleeping
S4S3
S2S1
PowerFailure
ACPIBoot
(SCI_EN=1)
ACPIBoot
(SCI_EN=1)
G2 (S5) -Soft Off
SLP_TYPx=(S1-S4)and
SLP_EN
D0D1
D2D3
Modem
D0
D1D2
D3HDD
D0
D1D2
D3CDROM
C1C2
C3CPU
C0
BIOSRoutine
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
An ACPI SystemAn ACPI System
Operating System
PolicyManager
DeviceDrivers
ACPISubsystem
ACPI-Related
Hardware /ACPI BIOS
User Interface
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
ACPI Software ComponentsACPI Software Components
ACPI SubsystemACPI Subsystem Consumes ACPI BIOSConsumes ACPI BIOS Interacts with ACPI HardwareInteracts with ACPI Hardware
Policy Manager (OSPM)Policy Manager (OSPM) Sets and Monitors System PoliciesSets and Monitors System Policies User InterfaceUser Interface
Allows User Input to PolicyAllows User Input to Policy
Device DriversDevice Drivers EC, SM Bus, CM Battery, Smart BatteryEC, SM Bus, CM Battery, Smart Battery
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
ACPI System OverviewACPI System Overview
AC PI T ab lesAC PI B IO SAC PI R eg isters
K ernel
D eviceD river
ACPIRegisterInterface
ACPI TableInterface
ACPI BIOSInterface
Platform H ardw are
Existingindustrystandardregister
interfaces to:CMOS, PIC,
PIT s, ...
AC PI D river/AM L Interpreter
ApplicationsO S
D ependentA pplication
A PIs
O S Specifictechnolog ies,
in terfaces, and code.
OSIndependenttechnologies,
interfaces,code, andhardware.
BIOS
O SPM System Code
- Hardware/Platform- Provided by ACPI CA
- ACPI Spec Covers this area.- O S specific technology
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
ACPI Specification HistoryACPI Specification History
ACPI 1.0 released December 1996ACPI 1.0 released December 1996
ACPI 1.0a released July 1998ACPI 1.0a released July 1998
ACPI 1.0b released February 1999ACPI 1.0b released February 1999
ACPI 2.0 released July 2000ACPI 2.0 released July 2000
Note: Third Party Brands and Trademarks are Property of Their Respective Owners.
Mobile Architecture
Lab
How does ACPI change?How does ACPI change?
Periodic errata meetings held with Periodic errata meetings held with promoterspromoters
Either spec is updated (e.g. 1.0a, 1.0B, etc) Either spec is updated (e.g. 1.0a, 1.0B, etc) or an errata document is posted on the or an errata document is posted on the ACPI site: http://www.acpi.infoACPI site: http://www.acpi.info