|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
8 U7 K8 i/ ?/ Xich7 spec里摘出的:
) g+ T" C: G* y- u----------------------------------------
# J9 l: k8 o! ~) l* p& BAPM_CNT—Advanced Power Management Control Port Register( K+ [2 N0 m0 r4 f
I/O Address: B2h Attribute: R/W
6 M( h q& K C! a2 JDefault Value: 00h Size: 8-bit
- e$ b7 c u: v! B1 b1 _. NLockable: No Usage: Legacy Only
) f; R7 ~$ x" T. V& IPower Well: Core
% ]5 e- V2 V& R ~0 \9 }Bit Description$ p- R6 N2 ]) v
7:02 ]( E; t7 q& k9 s. a5 Y4 O: G X
Used to pass an APM command between the OS and the SMI handler. Writes to this# ]8 l( c8 R( N; t2 D4 p: u3 j" r
port not only store data in the APMC register, but also generates an SMI# when the
+ O" p& P0 e% |3 k! JAPMC_EN bit is set., Z$ x$ m# B+ I6 v" X
---------------------------------------
& H' [- E: I8 \0 X" ^) G) }
6 [3 i5 {" M: l2 U7 k+ x+ W1 J& N[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|