|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。# |! L; x8 `, @9 N6 ?' E* f
ich7 spec里摘出的:
7 Y) O: H @! a# n----------------------------------------
( ~ I1 Z* u( j( \APM_CNT—Advanced Power Management Control Port Register% ?8 B' |' Q7 w$ u
I/O Address: B2h Attribute: R/W
0 ], B5 `2 r+ T+ bDefault Value: 00h Size: 8-bit
! i& y3 x0 T! ~Lockable: No Usage: Legacy Only8 O+ t7 G( Z0 r8 L2 z0 i; J ~8 Q
Power Well: Core
$ [1 `) N" q2 `1 fBit Description: S f# R! u- }- K/ {+ h/ i
7:0
# L/ i; m6 F" l: P: dUsed to pass an APM command between the OS and the SMI handler. Writes to this
7 E0 \5 l4 q& K. f9 Tport not only store data in the APMC register, but also generates an SMI# when the
* u; B/ c3 J( J$ j1 d! aAPMC_EN bit is set.: t% G7 d5 Z3 @! H# O1 f/ Q
---------------------------------------
9 X" V* [% {3 S/ w! ?# |
4 o! a( x; M- X2 b+ ?* l[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|