|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。$ E4 N1 D- Q2 b) X9 j
ich7 spec里摘出的:
: B8 y# E# `; e7 y% q( E----------------------------------------* ?3 [. h0 A% z! W. G; y
APM_CNT—Advanced Power Management Control Port Register
+ _( u! f5 l+ l0 e$ B* @" OI/O Address: B2h Attribute: R/W
0 W2 U4 z. L5 ^5 X# VDefault Value: 00h Size: 8-bit8 e& P4 @4 n8 h3 _: U+ O. Q
Lockable: No Usage: Legacy Only
9 d: I* v; O, v2 t- c# jPower Well: Core! `% A h- ^+ L2 V) u# s( H
Bit Description; F* H2 n1 H5 h. ]
7:0
" |# S( \; O$ H0 v& P% E( AUsed to pass an APM command between the OS and the SMI handler. Writes to this
3 L* U0 m8 \! Y4 b, ~8 Nport not only store data in the APMC register, but also generates an SMI# when the
, N4 n. |! K* q" \7 s" r& bAPMC_EN bit is set.. j; ? U+ c' m- K" D2 o! j
---------------------------------------9 L. E* t9 C3 |/ h
6 I- _9 Z$ n7 l
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|