|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。' U3 v/ R6 N' [" g, F
ich7 spec里摘出的:' _ u, x5 s i3 c" Y% J$ x
----------------------------------------
0 ]& p0 [0 |1 v6 r3 iAPM_CNT—Advanced Power Management Control Port Register) `3 e% f; `) b* ^
I/O Address: B2h Attribute: R/W9 g1 r2 _3 n# h R
Default Value: 00h Size: 8-bit
; o; p5 V9 a' n; NLockable: No Usage: Legacy Only
1 \. F- N! U7 s5 J- ?Power Well: Core
1 }% a3 v8 L( S: P- VBit Description% F6 ]* ?+ J" O3 W* g& @* \
7:05 r" F8 j4 N- @% D# R
Used to pass an APM command between the OS and the SMI handler. Writes to this9 U* |$ k+ L% z! s* Q
port not only store data in the APMC register, but also generates an SMI# when the
$ O6 r( a; E7 Z kAPMC_EN bit is set.
, B+ o% y/ \, M( ~; M---------------------------------------) _' A# c; C6 o8 H
% Z* ~+ c( d* I& y8 v2 l f8 [3 w[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|