|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。0 ]8 P& R6 I5 X" p$ c
ich7 spec里摘出的:
+ J! D/ @! \6 |) d3 D- s% W----------------------------------------! e {$ n3 {$ b, g
APM_CNT—Advanced Power Management Control Port Register
% e; G" ^$ y5 E! _I/O Address: B2h Attribute: R/W. ]. e u! T" N: r. D
Default Value: 00h Size: 8-bit) @/ y- O2 R7 g. D6 Q! ]
Lockable: No Usage: Legacy Only
' P* O! _9 d. f# B/ [3 GPower Well: Core
7 D# U' v4 [1 w IBit Description
1 S& @0 l' q/ y% O. V9 Z5 @ H" ?7:0
( |, X3 E* k/ Q3 d( zUsed to pass an APM command between the OS and the SMI handler. Writes to this" f0 O3 [# _% G$ o& I2 F& {
port not only store data in the APMC register, but also generates an SMI# when the/ f- T5 Z& B. x% t+ I7 R/ D5 E
APMC_EN bit is set.
% i$ S$ Y: W$ x" e3 W2 o---------------------------------------
) {: k+ H4 {, J$ y7 c
% }5 Q/ u/ \. d( h[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|