|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
% t% ?) e- o8 J) w$ ]ich7 spec里摘出的:, [6 @: ~' d3 `9 P! Y! M m
----------------------------------------
, Z6 Y0 J1 ?/ b; E3 F2 T$ jAPM_CNT—Advanced Power Management Control Port Register
8 a2 x2 x2 W. v; r: I( VI/O Address: B2h Attribute: R/W6 P( z: o& u; C6 b0 J9 x. U
Default Value: 00h Size: 8-bit
, Q' Q( y+ _! X/ K3 ~4 xLockable: No Usage: Legacy Only# Z/ d% s7 K, C+ u$ B$ P
Power Well: Core6 A! \2 m) C7 ^
Bit Description. x6 K, x; p I5 q" t4 Z! h
7:0
5 U7 n2 v4 p2 X% A' {, a7 NUsed to pass an APM command between the OS and the SMI handler. Writes to this, \0 h5 L7 |* w( M. M
port not only store data in the APMC register, but also generates an SMI# when the0 j$ D6 i& q4 Y3 r2 W' J
APMC_EN bit is set.+ S6 ]9 b% u- x& y! ^
---------------------------------------1 p* b6 r/ |* L* |
' M2 k7 [! } N
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|