|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。4 O) Q" p7 q$ ]5 g0 N Q
ich7 spec里摘出的:1 h+ S: L2 a& z/ [) A' ^# C
----------------------------------------
' ?: O; L$ x! \5 Y7 wAPM_CNT—Advanced Power Management Control Port Register
, J* S+ l$ c3 C7 J0 S4 x7 iI/O Address: B2h Attribute: R/W1 R) J8 ?5 |) q6 i' K) i
Default Value: 00h Size: 8-bit
7 g3 r6 E' h5 C% N# hLockable: No Usage: Legacy Only2 d. T& H+ i- A# H; |1 k+ }( ?1 d
Power Well: Core% N. o+ h+ j* W1 w6 O+ j( b
Bit Description: m7 ~! @! v X" k' \, S
7:0
0 b8 O( A& L& ~Used to pass an APM command between the OS and the SMI handler. Writes to this8 p$ Z5 N2 @( c' ]
port not only store data in the APMC register, but also generates an SMI# when the5 b3 R' N; C2 U1 Y2 q! {7 Y" z
APMC_EN bit is set.
5 e) ]' Y5 C( p---------------------------------------
; `* w3 Z* I+ {; X3 X8 D, z1 `' y" z4 Y- e: J4 k' [0 O* w
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|