|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。4 e9 F* L6 q5 d
ich7 spec里摘出的:
5 M# k+ N, D3 h5 H----------------------------------------
7 K! j# T7 f( VAPM_CNT—Advanced Power Management Control Port Register
, ]" q+ n) A7 l" ^$ Z BI/O Address: B2h Attribute: R/W
6 F4 ?2 p: d- A/ q; FDefault Value: 00h Size: 8-bit+ T' p0 m/ n7 Q0 Z6 j
Lockable: No Usage: Legacy Only
3 r( ~% H+ @/ Y! nPower Well: Core* Y6 R% R( K0 T% O1 x) h6 x
Bit Description
h1 N! B% a. y: v- S7:0. W* }+ q5 P3 t/ Z3 u2 T
Used to pass an APM command between the OS and the SMI handler. Writes to this
6 h- e$ `" U: r/ x# l9 b- M: Oport not only store data in the APMC register, but also generates an SMI# when the
7 B5 M: C* q( Q( l5 j9 xAPMC_EN bit is set.
. g. t9 u" F6 q- Y. X, z---------------------------------------; G) v; a: E, J0 U" Y! _4 z
. I' m/ Y' a- m t
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|