|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
7 ^) V: d* \; ~) R4 ]# k+ f* _ich7 spec里摘出的:
g7 c4 g& Z5 I. v+ _/ m----------------------------------------2 i2 ]0 S$ ~ Q; Q$ K
APM_CNT—Advanced Power Management Control Port Register2 J; X! D2 O h' _$ R
I/O Address: B2h Attribute: R/W* J! P* D0 P6 d* d) O4 ^+ M L& e
Default Value: 00h Size: 8-bit
1 H: w( z7 K& k2 u6 f SLockable: No Usage: Legacy Only
" J; a1 T/ w- |$ N7 PPower Well: Core
2 v, u! N1 |9 X3 \4 s; ABit Description' ~7 H3 Q# b6 l- K
7:0% B& H5 W3 `9 j1 p
Used to pass an APM command between the OS and the SMI handler. Writes to this- Z5 [% ?8 @' D, ]8 g9 L
port not only store data in the APMC register, but also generates an SMI# when the8 k% d- L: Y+ ]3 W& r( F- H
APMC_EN bit is set.
, |: T* m/ y! Y8 r v; \. h A---------------------------------------% {' t# L8 u8 Y5 \+ B
" T" S5 r6 y6 y
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|