|
|
发表于 2008-10-22 17:58:08
|
显示全部楼层
ASL code中要做的动作(参考ACPI spec):; F5 g; o: v9 ?& r; v1 q/ e
1.OSPM decides (through a policy scheme) to place the system into a sleeping state.
$ H- C; o0 {) }! z( G4 Z2 h2._TTS(Sx) is run, where Sx is the desired sleep state to enter.
) b3 l: q% |. W3. OSPM notifies all native device drivers of the sleep state transition, E+ g" F5 e: w' y( B0 U y0 Y
4._PTS is run" t* X# g: ~, M4 ?
5.OSPM readies system for the sleep state transition
/ d- a. d- N1 a: U+ }6._GTS is run
& h# q/ g9 [" Z, U1 y7.OSPM writes the sleep vector and the system enters the specified Sx sleep state.- I1 c" F# k5 ^1 @ R
( }- k. ~( x; j4 _; A关于asm中要根据需要保存一些唤醒时需要的信息,比如:PC-AT 兼容性寄存器,GPIO状态,lan唤醒等。. w4 G; h v/ O
" {) ^' d4 ~6 m" r3 o
学习中............... |
|