|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
; S1 i& p, g, f! o/ `! Kich7 spec里摘出的:. h4 |( c2 _8 f8 z, N' O6 V
----------------------------------------
3 X8 ^. c' e8 C; F# @ f7 U7 i8 p0 eAPM_CNT—Advanced Power Management Control Port Register
( y9 k, Z: b* E0 _$ y, lI/O Address: B2h Attribute: R/W9 V# Q/ Z3 f% i* z1 [1 ~' |7 ~* q, t( c
Default Value: 00h Size: 8-bit l3 U- C; z8 A
Lockable: No Usage: Legacy Only* I; H$ J6 v* L. B" [2 B7 z% x1 L
Power Well: Core
, W3 p: q- R+ g' RBit Description
4 \5 A A1 F9 J6 @! U0 Y: _4 O7:0
' O% w- s9 t O- m* ^) A+ GUsed to pass an APM command between the OS and the SMI handler. Writes to this/ [9 L3 B9 q% c* }
port not only store data in the APMC register, but also generates an SMI# when the/ N3 I4 T9 d3 a0 o% G
APMC_EN bit is set.3 n8 e- z( f$ _! R
---------------------------------------# J1 t& k6 O4 ^( a* j
$ Z2 F$ A( E8 d5 G$ X' U8 ]0 o1 _
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|