|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。$ v+ G9 c9 F7 B. J7 q
ich7 spec里摘出的:/ f* m. j2 X- c$ Z
----------------------------------------
% U2 Y T( Z# k) X* gAPM_CNT—Advanced Power Management Control Port Register( a" L& A/ e) i! |( y
I/O Address: B2h Attribute: R/W* Y" w0 G1 \. r
Default Value: 00h Size: 8-bit4 F, @# i+ @. \ o
Lockable: No Usage: Legacy Only8 Z; h$ G2 a0 q) f a! x1 P7 i- B, H
Power Well: Core
( d4 d' s& y* R+ rBit Description) s* v6 V7 _8 D ~4 A0 t! c( ^
7:0
U/ X& X' z1 c9 @Used to pass an APM command between the OS and the SMI handler. Writes to this+ \- A8 F1 k1 i; I
port not only store data in the APMC register, but also generates an SMI# when the
! F4 p- V9 m( c% m5 G& f6 @4 yAPMC_EN bit is set.( U% R5 \! F8 W, `: h5 i$ z' c" P
---------------------------------------
4 o9 ]4 p" L, J4 S N/ q n7 I2 }: i, x! f# R* X3 ^: {" _) Q+ C! e
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|