介绍APM BIOS接口(PPT53)(1)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

2019/7/301IntroducetheAPMBIOSInterfacePresentedbyHantsZhangApprovedbyJRJen&W.LSung2004/03/02Rev.1.02019/7/302Agenda1.APMIntroduction2.APMModel3.APMSoftwareLayer4.APMSoftwareInterface5.FirmwareErrorCodes6.Summaries7.Q&A2019/7/3031.APMIntroduction1.1APMOverview1.2APMSystem1.3Terms2019/7/3041.1APMOverviewWhatisAPM?APM(advancedpowermanagement)isdefinedbyIntelandMicrosoftCorpin1992.Thelatestversionis1.2.FunctionofAPM:ControlthedevicepowersatethroughBIOS.APMVSACPI:InACPIenvironmentOScontrolalldevice’spowerstateandtheBIOSprovidesysteminformationonly.2019/7/3051.2APMSystemAPM-AwareApplicationAPM-AwareApplicationAPM-AwareDeviceDriverAPM-AwareDeviceDriverAPMDriverAPMBIOSAdd-InDeviceAdd-InDeviceAPMInterfaceOSdependentOSindependentApplicationsBIOSOperatingSystemAPMBIOSControlledHardware2019/7/3061.2APMSystemAPMBIOSisthesoftwareinterfacetothemotherboardanditspowermanageddevices.APMdrivermoduleconnectstotheAPMBIOSandcommunicatewiththeAPM-awareapplication.APM-awareDeviceDrivermodulesprovidesthesoftwareinterfaceforadd-indevices.APM-awareApplicationsinterfacewiththeAPMdrivertomonitorandcontrolpowermanagement2019/7/3071.3TermsAdd-inDeviceisnotonthemotherboard.APMConnectionisaprotocolandmechanismbywhichanAPMDriverandanAPMBIOSintercommunicate.CPUCOREincludestheCPUclock,cache,systembus,andsystemtimers.Resumetimerisasystemtimerusedtowakeupthesystemfromalowpowerstateataspecifiedtime.SystemIdleisainactivestate.2019/7/3082.1SystemPowerState2.2DeviceControl2.3CPUControl2.4SystemPowerStateTransition2.APMModel2019/7/3092.1SystemPowerStates2.1.1FullOnState2.1.2APMEnableState2.1.3APMStandby2.1.4APMSuspend2.1.5OffState2019/7/30102.1.1FullOnStateTheFullOnStateisthedefaultmode.Systemisonworking.Systemisnotpowermanaged.Alldeviceareon.2019/7/30112.1.2APMEnableStateIntheAPMEnableStatethesystemisdoingworkbutsomeunuseddevicesmaynotbepowered.TheCPUclockisslowedorstoppedanddevicesarepowermanagedasneeded.2019/7/30122.1.3APMStandbyThesystementerstheAPMStandbyStateafterashortperiodinactivity.Thesystemisinalowpowerstatewithsomepowersavings.Mostdeviceareinalowpowermode.TheCPUclockisslowedorstopped.SystemreturnsquicklytotheAPMEnableState.Interruptsmuststillbeprocessednormally.2019/7/30132.1.4APMSuspendThesystementertheAPMSuspendStateafterarelativelylongperiodofinactivity.SystemtakesarelativelongtimetoreturntotheAPMEnableState.SystemisnotworkingandinalowpowerstatewithmaximumpowersavingsMostpowermanageddevicearenotpoweredTheCPUclockisstoppedandtheCPUcoreisinitsminimumpowerstate.2019/7/30142.1.5OffStateInthisStatethesystemisnotworking.Thepowersupplyisoff.Operationalparametersarenotsaved.SystemresetsandinitializeswhenthetransitioningtotheFullOnState.2019/7/30152.2DeviceControl2.2.1DeviceControlOverview2.2.2DeviceOnMode2.2.3DevicePowerManagedMode2.2.4DevicePowerLowMode2.2.5DeviceOffMode2019/7/30162.2.1DeviceControlOverviewDevicesmaybepower-managedeitherbythesystemBIOSorbytheOS.Usingthe“DisableDevicePowerManagement”function,theOSmaytelltheBIOStostoppowermanagingaparticulardevice.Thedevicecontrolhasfourmodes:DeviceOn,DevicePowerManaged,DeviceLowPower,andDeviceOff.2019/7/3017DeviceOnMode:Inthismodedeviceisfullypoweredandabletoperformwork,alldevicefeaturesareavailable.2.2.2DeviceOnMode2019/7/30182.2.3DevicePowerManagedModeDevicePowerManaged:InthismodeDeviceisworking,butsomefeaturesmaynotbeoperational,ormaybefunctioningatreducedperformancelevels.2019/7/3019DeviceLowPower:inthismodedeviceisnotworking.Powerismaintainedanddevicesmayhavevariablenumbersoflowpowersubmodes.2.2.4DeviceLowPower2019/7/30202.2.5DeviceOffModeDeviceOff:inthismodedeviceisnotworking.Deviceispoweredoff.2019/7/30212.3CPUCoreControl2.3.1CPUCoreControlOverview2.3.2CPUCoreControlModes2019/7/30222.3.1CPUCoreControlOverviewTheCPUcoreistypicallythelastdevicetopoweroffandthefirstdevicetopoweron.TheCPUcoreincludestheCPUclock,cache,systembus,andsystemtimers.TheCPUcoreiscontrolledthroughAPMBIOS.APMDrivermaynotifytheAPMBIOSaboutCPUusagebuttheAPMBIOSdeterminestheactiontotake.2019/7/3023TheCPUcoreisrequiredtoperformsystempowerstatechanges.SlowClock:Reducedspeedoperation,reducedpowerconsumption,reducedperformancelevel,interruptsrestoretoFullOnMode,restorationtoFullOnappearsinstantaneous.Stop:Onlyahardwareinterruptstartstheclock,restorationtoFullOnappearsinstantaneous.2.3.1CPUCoreControlModes2019/7/30242.4SystemPowerStateTransitions2.4.1StateTransitionsOverview2.4.2SystemStateTransition’sOperation2019/7/30252.4.1StateTransitionOverviewInactivitycausesagradualpoweringdownofthesystem.ThesystemstatechangesarecausedbytheAPMBIOSduetosystemactivitylevel,interrupts,andexternaleventsorduetosoftwarerequests.APMBIOSandAPMDrivercooperatetoeffectsystemstatetransitions.2019/7/30262.4.2StateTransition’sOperationFullOnOffAPMEnabledAPMSuspendAPMStandby•APMEnable•EnableCall•APMDisable•DisableCall•ShortInactivity•StandbyCall•LongInactivity•SuspendInterrupt•SuspendCall•OffSwitch•OffCallOffSwitchResumeEventWakeupEventOffSwitchOffSwitchOnSwitchPOWERMANAGE

1 / 53
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功