|
|
发表于 2008-10-22 17:58:08
|
显示全部楼层
ASL code中要做的动作(参考ACPI spec):
0 C( v9 P, g9 I K! Y1.OSPM decides (through a policy scheme) to place the system into a sleeping state.
! R) k! N9 i# W8 k5 o% B2._TTS(Sx) is run, where Sx is the desired sleep state to enter.
+ N; @* o4 k) X5 |: N3 N3. OSPM notifies all native device drivers of the sleep state transition
* g! @4 o) a( |# T! c2 {! ~4._PTS is run
w+ W1 B i. G, K: J5.OSPM readies system for the sleep state transition
- ^8 a: f I5 n" W/ [6._GTS is run: U [# {2 O( a/ q4 B
7.OSPM writes the sleep vector and the system enters the specified Sx sleep state.1 V* @( ^7 V; q; l" x1 o' ^
1 | h7 S, f( @关于asm中要根据需要保存一些唤醒时需要的信息,比如:PC-AT 兼容性寄存器,GPIO状态,lan唤醒等。
4 c& v. A$ ]0 o/ H3 N( Q; h( T1 O) u' Z: t4 U# L+ C" `
学习中............... |
|