|
|
发表于 2008-10-22 17:58:08
|
显示全部楼层
ASL code中要做的动作(参考ACPI spec):
) T! l- }+ L1 t8 h% R) c1.OSPM decides (through a policy scheme) to place the system into a sleeping state.2 U$ u& d" s1 S( ^1 A( T
2._TTS(Sx) is run, where Sx is the desired sleep state to enter. M3 w- B" m1 M4 Y
3. OSPM notifies all native device drivers of the sleep state transition) @3 R# @2 Q, z5 ~, Z l k% K
4._PTS is run
, L# k! l5 x6 K5.OSPM readies system for the sleep state transition5 T8 m0 v+ ?# P7 _9 p
6._GTS is run
/ `; `# w$ r" B7.OSPM writes the sleep vector and the system enters the specified Sx sleep state. q0 l( e0 Z2 `4 t
5 a' U0 n1 }5 _关于asm中要根据需要保存一些唤醒时需要的信息,比如:PC-AT 兼容性寄存器,GPIO状态,lan唤醒等。
7 s* K9 z. p Z0 Y: Q1 _6 ?" z' g0 U
学习中............... |
|