|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
+ @& r9 f) u% i/ q+ wich7 spec里摘出的:7 Q0 T9 Z7 h9 a2 r" y
----------------------------------------" ?4 ]8 P5 ]; W/ {) z" n
APM_CNT—Advanced Power Management Control Port Register/ K8 D5 D" ^( [7 P
I/O Address: B2h Attribute: R/W0 H9 s) ?, o6 S4 F# Q
Default Value: 00h Size: 8-bit! a# Q% k$ z' e6 s+ H6 \
Lockable: No Usage: Legacy Only
# C( `) `( X# N1 A7 {4 o! {7 x# mPower Well: Core
" g: m/ R' c3 yBit Description
& S5 H1 R( {2 f9 `0 ~& n }7:0
1 ]. |# W6 s5 e" f/ jUsed to pass an APM command between the OS and the SMI handler. Writes to this
" v a( y; e" c1 g) [port not only store data in the APMC register, but also generates an SMI# when the! N: K8 m* c" B& b
APMC_EN bit is set.
d" B5 t; a; n7 H, e& ?---------------------------------------2 o) J4 F4 Y D2 o8 \( T
5 A& {4 i; y5 [, h: b- Z" ^
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|