|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。8 K+ K5 d- y% \% B" D: P$ [$ m
ich7 spec里摘出的:8 D1 s& X* B& s; U
----------------------------------------
3 u+ b) {8 K* m R8 `4 S2 X# hAPM_CNT—Advanced Power Management Control Port Register x% q7 e+ l. @% }' x: Y
I/O Address: B2h Attribute: R/W9 o* G7 b8 E# ~" K
Default Value: 00h Size: 8-bit0 m+ h. `) h* z% c) g
Lockable: No Usage: Legacy Only
; D& @4 N- F* KPower Well: Core
0 z( A" I- r, l A2 W; ]9 GBit Description+ L$ ~3 _' ?3 Y# {6 Q' n8 `, u
7:03 H u1 l/ q+ e! D
Used to pass an APM command between the OS and the SMI handler. Writes to this7 Z ?! B! W, f2 Q
port not only store data in the APMC register, but also generates an SMI# when the
" w. }/ n% ~0 l) _APMC_EN bit is set.7 u( H1 H- Y$ U% h* y& o9 K
---------------------------------------
9 S( K9 ~( G T. j! b- p6 J( \1 u' o! @# b: L" \: _
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|