|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
% g4 F% O- z( Z6 e q( \0 qich7 spec里摘出的:: f' \" E( D7 `) z5 W) J _7 a
----------------------------------------. q: n' J/ F- R; e2 P
APM_CNT—Advanced Power Management Control Port Register' o% c9 j. u2 X, e3 H1 {
I/O Address: B2h Attribute: R/W8 \ U; Z. [* y; H1 t' K* o# k
Default Value: 00h Size: 8-bit+ B2 y& Q8 l) A7 d' p+ a4 U
Lockable: No Usage: Legacy Only
4 }, t/ c! J! u, M# jPower Well: Core. J3 v0 g3 G7 m6 T0 y1 @% z c0 s
Bit Description4 v+ j! |- u) B, f0 c0 N/ W
7:0* v, s. x$ \& _/ w
Used to pass an APM command between the OS and the SMI handler. Writes to this# \; D/ d# g$ `4 [: l
port not only store data in the APMC register, but also generates an SMI# when the
2 n) i9 c9 A t! rAPMC_EN bit is set.
& G S6 Z; t# u$ l! b% B/ P: {8 ]4 U---------------------------------------$ ], D9 |; n% m! V
$ l }+ P) @ I4 a1 e
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|