|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
- G: ]( |9 @7 r1 sich7 spec里摘出的:. M T) n( k) Y) \7 M% l ]
----------------------------------------
/ O0 j( k" C9 I# R$ Z8 k; f4 pAPM_CNT—Advanced Power Management Control Port Register
# M U8 o8 U1 c* vI/O Address: B2h Attribute: R/W: |3 P" J' u$ a' } O* g
Default Value: 00h Size: 8-bit
% x3 U2 Z9 N, K+ }Lockable: No Usage: Legacy Only
6 j! H! V0 U9 `' HPower Well: Core
8 _9 H: S D9 `1 SBit Description
" P+ i4 U3 h5 _5 z' ~7:0( V) g- w6 Z- ~" L
Used to pass an APM command between the OS and the SMI handler. Writes to this
& f2 U! v5 _- }' u$ Zport not only store data in the APMC register, but also generates an SMI# when the
) B) T" W! \0 T& ?, l% a; JAPMC_EN bit is set.
3 w0 ~! [6 [7 G( C; K s---------------------------------------2 S+ c9 W8 X/ Q9 q2 v3 z
$ Z9 `) j* ~% i. D[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|