|
发表于 2008-10-22 17:58:08
|
显示全部楼层
ASL code中要做的动作(参考ACPI spec):' }+ Y0 N/ G3 w1 T
1.OSPM decides (through a policy scheme) to place the system into a sleeping state.) a, E7 g9 ~" n3 b+ V
2._TTS(Sx) is run, where Sx is the desired sleep state to enter.
3 y8 O* {9 B4 u, U1 O$ B3. OSPM notifies all native device drivers of the sleep state transition
8 H# {) d+ d- g" |2 d4._PTS is run
% I! H7 p/ u# r5.OSPM readies system for the sleep state transition
+ X9 R% |& Y9 U+ \% ?' N% {$ M6._GTS is run; X- i7 L9 J* M S# \4 k
7.OSPM writes the sleep vector and the system enters the specified Sx sleep state.$ C* _( W: Y% u
/ [) r$ u9 n4 w, d关于asm中要根据需要保存一些唤醒时需要的信息,比如:PC-AT 兼容性寄存器,GPIO状态,lan唤醒等。+ M- J* `. _3 X
. S" i/ |) V* q$ j6 I学习中............... |
|