|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。: ^- W2 h! x+ u& {
ich7 spec里摘出的:
& m1 z3 @! v, Q6 c" O' S----------------------------------------
3 a4 R, [3 `, TAPM_CNT—Advanced Power Management Control Port Register
0 g0 @8 A1 R) G# c8 I) {I/O Address: B2h Attribute: R/W$ [2 b# c& Z+ W# r3 n
Default Value: 00h Size: 8-bit
4 _# G) q- x- J% p/ R( g; o# oLockable: No Usage: Legacy Only+ R8 |( b1 r* _; e/ h5 ~- J4 h
Power Well: Core
: v: t# i8 ?3 U0 I7 o+ nBit Description
. O5 }, a2 ^9 x7:0
/ w0 v8 ^' u2 CUsed to pass an APM command between the OS and the SMI handler. Writes to this
7 V1 `4 |) m, z, l( Pport not only store data in the APMC register, but also generates an SMI# when the2 y' e2 M. `7 t
APMC_EN bit is set.
, s2 z1 e+ Q: k---------------------------------------
8 ~5 Q. V, n. K5 @# {
- Q* D# x* k/ m$ _8 I1 Y v[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|