|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
7 v: ^ |. f6 q8 M' zich7 spec里摘出的:
# o* q4 F* A* k6 G- d5 x----------------------------------------
1 [8 G: F/ U* u1 e& I/ t" [" XAPM_CNT—Advanced Power Management Control Port Register
7 b# w9 m' J! D" s: A1 _. JI/O Address: B2h Attribute: R/W
' K' r) Q0 B& F4 |Default Value: 00h Size: 8-bit/ d P O8 H0 D. i& `
Lockable: No Usage: Legacy Only
' i5 j( `# k, M* c7 oPower Well: Core
+ _7 n& \# V2 m0 j3 Y0 R/ WBit Description! i0 G3 o p$ R% ?* K: c. ?
7:0
4 _: I1 d" `+ D' Q' } x5 P! OUsed to pass an APM command between the OS and the SMI handler. Writes to this+ E2 Y, i% m! u5 ^% j) b, n
port not only store data in the APMC register, but also generates an SMI# when the
' ]. U5 j! i5 a7 }APMC_EN bit is set.
6 D+ x9 u2 h, M: u+ n# q) n+ ~---------------------------------------0 C, m, {, v& K; e& v8 _2 C
" i+ h+ y7 T1 }[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|