|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。4 J, t0 h+ [# H) z/ e
ich7 spec里摘出的:
6 o' e. j$ {/ |7 g----------------------------------------( Z' A" f& x$ g! y; h. f
APM_CNT—Advanced Power Management Control Port Register/ a( [- B7 x# K1 Y) x4 l9 D
I/O Address: B2h Attribute: R/W
" O$ L3 a$ c v+ A8 zDefault Value: 00h Size: 8-bit
+ G, H f8 k+ s7 w3 `Lockable: No Usage: Legacy Only
9 ` {" g+ V. e; x8 X8 X8 V, d4 LPower Well: Core
2 u+ ^$ U/ U' q+ tBit Description
4 r# i7 A! I" N7:0' C7 \! P Z/ H( m J1 O7 l
Used to pass an APM command between the OS and the SMI handler. Writes to this
; M- j/ M G9 x3 fport not only store data in the APMC register, but also generates an SMI# when the
" U. y1 o! J8 B& G; y) ?$ I; qAPMC_EN bit is set.
" C6 `5 C. U# j e9 f8 t---------------------------------------
6 L1 q9 T6 Q$ }! g: B% N& Q6 o
6 w' z t9 e; E+ V[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|