|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
, g& a9 @ a/ H0 n fich7 spec里摘出的:
5 c$ c- }1 B; |$ i+ @----------------------------------------
0 l0 Q; c8 y) R/ ~1 H1 NAPM_CNT—Advanced Power Management Control Port Register( `, q5 G3 ~# v# s {( E
I/O Address: B2h Attribute: R/W
0 }% _4 X/ }6 [: SDefault Value: 00h Size: 8-bit5 y; t @6 G& p- o- e1 A9 F
Lockable: No Usage: Legacy Only7 z$ {" r% K4 ]8 {' C, x
Power Well: Core" ~- H4 g- m; j& \) |/ R& m
Bit Description
& {/ J, L" r" J$ A' L7:0
0 _: b- ~* a( d P- HUsed to pass an APM command between the OS and the SMI handler. Writes to this
- P; g. C. u/ S" Nport not only store data in the APMC register, but also generates an SMI# when the! E6 Y9 z( g! U+ B( L4 f
APMC_EN bit is set.
( {; p8 l) J$ W/ i4 G" R( d* }---------------------------------------
. q: M# G- h% l! V- j3 G0 Q
, ^ o$ u2 {& H; \1 e9 h[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|