|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。, x, Q& R& h2 Q7 v' Y4 J
ich7 spec里摘出的:% r3 X) q* z: W' i
----------------------------------------
! k7 c$ x' w" u6 k/ B. R" c. IAPM_CNT—Advanced Power Management Control Port Register
* H; b2 J: y& J7 gI/O Address: B2h Attribute: R/W: v$ \+ C, Y, p! F" P, i% g+ y2 V
Default Value: 00h Size: 8-bit
" A8 ~, F/ `% Y# @Lockable: No Usage: Legacy Only
. ]5 ]7 H( z. ^1 H$ p; i7 xPower Well: Core* N( ? p* I9 O! S: {5 A
Bit Description
; L4 Y9 K) c Y) { X! c' C7:0$ S3 n k! L$ g. P0 E* x
Used to pass an APM command between the OS and the SMI handler. Writes to this
$ F. l; h3 Q; d& n' r% q$ S- E0 {0 |port not only store data in the APMC register, but also generates an SMI# when the
% N- ^ m3 X, cAPMC_EN bit is set.
, a8 t6 o( s- H0 u. o---------------------------------------3 |) r5 h' Y G
, X3 B5 l' @" [9 g" e+ ?[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|