|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
$ W7 T* k5 o5 S% m1 g9 l3 u7 sich7 spec里摘出的:
$ S) c! {/ q+ v' K/ H# b9 D----------------------------------------# \$ T3 O, s8 y" X! S* \
APM_CNT—Advanced Power Management Control Port Register
& z4 s. |7 h' B9 ZI/O Address: B2h Attribute: R/W
& p- V' F/ a1 w5 I4 y zDefault Value: 00h Size: 8-bit; o, V3 B1 p2 u# S5 h+ H
Lockable: No Usage: Legacy Only
8 z$ B1 ?5 {# v N" @Power Well: Core* A* v9 j% T) r4 [3 m+ y D; g* M
Bit Description8 K: p- e5 K( |
7:0
" w8 g( ~6 n' a2 p6 eUsed to pass an APM command between the OS and the SMI handler. Writes to this6 Y, s, ~6 Z" q2 J8 L8 ?3 k, T
port not only store data in the APMC register, but also generates an SMI# when the
8 p# g) |" W+ ?; @( t SAPMC_EN bit is set.0 Q( S9 ]) J+ Q& |
---------------------------------------8 X$ `* q5 z& z% D' T. A2 z8 h
% G, k* Y! _+ f4 X1 c' d[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|