|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
$ g! a* L& o" s: p; V+ uich7 spec里摘出的:
* b) {" |2 v4 {% g----------------------------------------3 f0 v( p% l" f, E: `% R+ H: u. ~
APM_CNT—Advanced Power Management Control Port Register- v4 ?8 z* J7 G9 Q3 C
I/O Address: B2h Attribute: R/W
8 A1 ]4 `" ?7 @. v8 EDefault Value: 00h Size: 8-bit' A# e- P- ~8 \. [) H/ L0 N
Lockable: No Usage: Legacy Only: u& \2 j( i& a0 L* C5 B7 f; Z% T: O
Power Well: Core. Q* t9 Q$ x" Y; n6 p
Bit Description8 H/ l& j8 g0 d# e$ G
7:0
) n# j7 }7 b0 i( ZUsed to pass an APM command between the OS and the SMI handler. Writes to this
& F1 y3 c/ J# i. ]$ ~port not only store data in the APMC register, but also generates an SMI# when the
1 \' O3 ]/ w3 ~4 w+ F9 }: J, IAPMC_EN bit is set.& E% V% R6 L# q: K5 k4 L. v
---------------------------------------
& i. {5 k& _ b3 [* k2 F# x# [
! i8 K. E% t# E( d1 j[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|