|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
/ |, S9 Y2 ]: A+ C( L1 T" fich7 spec里摘出的:
\: ~/ {. e5 d----------------------------------------0 K7 ~% u+ V5 {$ Z7 g# L" ~2 r( E
APM_CNT—Advanced Power Management Control Port Register8 s8 S K; k6 z) c0 M* g
I/O Address: B2h Attribute: R/W+ T. j/ M4 l! `4 M' A2 ?
Default Value: 00h Size: 8-bit* i1 M8 ]: A" N/ B4 o
Lockable: No Usage: Legacy Only7 F# ]. d5 I2 x/ W3 J# o3 N
Power Well: Core( r- q+ Z1 x3 p4 d" N
Bit Description
: u1 V g! z5 Z/ R+ f/ K0 |" g7:0
6 c7 ]/ q% D: q$ l% hUsed to pass an APM command between the OS and the SMI handler. Writes to this
+ V/ t* B+ {2 @" ]5 O, v# d1 }( x) Lport not only store data in the APMC register, but also generates an SMI# when the# g$ x: b$ y7 q/ b2 \
APMC_EN bit is set.2 X$ g. X9 v9 b
---------------------------------------' \4 e# @' b g, w1 {* c+ a) B
' \ I6 d$ q% J5 k. N
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|