|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
5 `! W+ s" p: N5 a) Oich7 spec里摘出的:9 Y' c# K5 k5 y- U
----------------------------------------
' B4 s+ B- l( s7 C( E [1 l9 hAPM_CNT—Advanced Power Management Control Port Register4 [" |' a: P/ t1 k+ k+ _5 `+ z7 \
I/O Address: B2h Attribute: R/W4 O( I( S& s l+ U& v+ C {" R/ H8 c
Default Value: 00h Size: 8-bit( A; P3 ]; h7 E* `$ Z$ @
Lockable: No Usage: Legacy Only
1 Y9 L( B; J5 w* j. zPower Well: Core- L" P9 z3 X" s: ?5 k
Bit Description n1 v) a8 ^9 D) G' E
7:0
1 |* K0 B, \' q6 j4 QUsed to pass an APM command between the OS and the SMI handler. Writes to this$ A) I C( j/ W- q Y m3 ^
port not only store data in the APMC register, but also generates an SMI# when the
5 e" c9 b) s( NAPMC_EN bit is set.
9 b/ ?* t, e1 n8 H7 d2 B---------------------------------------
6 b, a% j6 G" Z0 Q5 F$ G
- N# ~, {3 B, R' z+ R0 R[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|