|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。2 o8 z0 }' | Q8 \6 W, `8 p0 h
ich7 spec里摘出的:
2 x$ g; ]+ o+ h' r" Q----------------------------------------
$ L# U5 k4 K! D$ h1 R9 w( oAPM_CNT—Advanced Power Management Control Port Register
( p$ z4 Y1 }8 U! lI/O Address: B2h Attribute: R/W6 e, D% P, N, O5 l$ b# F
Default Value: 00h Size: 8-bit
+ [. B( L9 ~! i- h/ s8 o5 d1 A0 w- gLockable: No Usage: Legacy Only
5 E% |6 ~; R! G; [0 OPower Well: Core
g M, X4 Q. |5 t2 WBit Description' Y3 k2 [$ q) ~* N
7:0
- r5 F V8 m# I) r& BUsed to pass an APM command between the OS and the SMI handler. Writes to this& s: T) Q0 P6 q
port not only store data in the APMC register, but also generates an SMI# when the
& Z8 q/ A6 U+ q. O0 |8 SAPMC_EN bit is set.7 d7 C: f# w- z: ~6 I: A$ {+ ]0 n
---------------------------------------
: ]9 H) ~' u- w# D8 P4 V y% ]1 k* `# K8 M2 R |$ _9 T1 A
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|