|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
! f2 l3 w% b" Eich7 spec里摘出的:
, O1 D. Y9 a* i- f9 H% k9 \----------------------------------------
& ?4 I9 _7 N+ hAPM_CNT—Advanced Power Management Control Port Register6 d9 i; }' `# `( e1 a# U1 W
I/O Address: B2h Attribute: R/W
# x5 P: J1 C5 J/ O' \Default Value: 00h Size: 8-bit
- ]4 X; f% R8 m6 M# Z! r! m4 y: yLockable: No Usage: Legacy Only
5 Z( t! ~: ~# u" i+ z$ D H' OPower Well: Core3 \2 _9 E S$ y. ]8 r
Bit Description& W' i U1 A, H6 G8 _# j1 R
7:0/ z0 T. t. C0 w Q; f: g- O
Used to pass an APM command between the OS and the SMI handler. Writes to this
; ] ^# J. S/ h' ] A* Xport not only store data in the APMC register, but also generates an SMI# when the! g. [* T' L! g- U, A
APMC_EN bit is set.
' q, Y2 _! G, o* S6 I' y4 h---------------------------------------- D3 _; J% M! @/ f3 J! r
9 g; C. D' X z4 b6 W, L) V[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|