找回密码
 加入计匠网
搜索
热搜: BIOS ACPI CPU Windows
查看: 10308|回复: 4

怎样进入S3

[复制链接]
发表于 2008-10-22 17:10:08 | 显示全部楼层 |阅读模式
各位好,; {$ u* R9 }( H$ y* \0 O
小弟刚做bios不久,许多不明白。那位大大能讲一下,系统怎样进入S3. 比如asl code 会有哪些操作, 然后asm code会干些什么?. n3 }& G- i& V9 x8 @! b4 d! O6 z
谢谢哦!
发表于 2008-10-22 17:58:08 | 显示全部楼层
ASL code中要做的动作(参考ACPI spec):2 B* n% C. b2 d; ]) ~7 I+ G' @6 [
1.OSPM decides (through a policy scheme) to place the system into a sleeping state.! \, s- U6 R0 T* h4 S- A
2._TTS(Sx) is run, where Sx is the desired sleep state to enter.
. p& K, s6 U+ }3 i3. OSPM notifies all native device drivers of the sleep state transition- ]/ h% ^4 K/ I/ ?* m5 T& b0 m
4._PTS is run
6 T  K+ A2 e' n- n: u$ a! X  M5.OSPM readies system for the sleep state transition
7 ?; h2 F- {" v% c# ~, }- h. \6._GTS is run
/ M) }$ ]% G% a3 C( s0 |' F) O3 K7.OSPM writes the sleep vector and the system enters the specified Sx sleep state.; @' R  i( [. c- e0 [- z
" H0 d/ s6 U6 b% j* k3 a
关于asm中要根据需要保存一些唤醒时需要的信息,比如:PC-AT 兼容性寄存器,GPIO状态,lan唤醒等。1 x- V7 [9 b( a; C8 P
) L2 G& k4 g- p1 B% ?
学习中...............
回复

使用道具 举报

发表于 2008-10-23 14:54:42 | 显示全部楼层
[原创]BIOS点滴Follow Bini系列之--ACPI S3步骤! m8 r( A3 `- D5 m: F) q- p* E
http://www.ufoit.com/bbs/thread-132-1-5.html8 @9 D  o& z$ E$ E( L5 J) r& m
/ B8 H" @# D" D2 N7 C* C8 i
要会学习,而不是提问!!!!!
回复

使用道具 举报

发表于 2008-10-27 13:19:33 | 显示全部楼层

爱学

爱问,更要爱学。其实这些东西在ACPIspec,在code里面都是有的。为何不先小研究一下呢
回复

使用道具 举报

发表于 2008-11-13 13:51:07 | 显示全部楼层
S3的下去回來是個很復雜的過程,不是小研究下就能搞清楚的哦,那需要耐心和恒心的說..到最后還不一定能搞清楚;
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入计匠网

本版积分规则

Archiver|手机版|小黑屋|计匠网

GMT+8, 2026-9-22 15:15 , Processed in 0.138038 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表