|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
2 }9 H7 d1 J* i/ y: U7 M- a, Bich7 spec里摘出的:& U. r8 @7 x: {) N; Q* R" O
----------------------------------------
8 R; Q5 T4 k x, [7 wAPM_CNT—Advanced Power Management Control Port Register
( q' O; O F: g$ H" c5 c/ kI/O Address: B2h Attribute: R/W4 p# L7 g, X' @' l+ X& e5 n1 ?
Default Value: 00h Size: 8-bit
$ C* @8 V9 @. x# R1 C. i7 ZLockable: No Usage: Legacy Only
9 e; m6 `& t+ @ j2 [+ BPower Well: Core
' }: [0 _0 P& X& w. rBit Description
1 U3 ^9 W5 j3 }$ ~+ G7:0" e7 R5 I& J, `' `
Used to pass an APM command between the OS and the SMI handler. Writes to this
W# L9 S. N+ J8 o0 j& q& H$ tport not only store data in the APMC register, but also generates an SMI# when the
, i) i) c& [/ p( }# D' KAPMC_EN bit is set.3 n- x0 \* }+ e6 z4 f4 [
---------------------------------------
2 y! {& a" w( t6 ?6 x: I) d7 g8 `1 r( @6 B6 f6 O2 J w' Z
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|