|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
9 c7 ` @7 O# d9 m3 Wich7 spec里摘出的:9 s1 f5 K. ]2 v9 ]7 u$ _
----------------------------------------
+ T( `7 D. b! |4 p3 J- }$ |5 a: bAPM_CNT—Advanced Power Management Control Port Register
6 h! I. f$ x2 V' @2 H0 g- x+ p- F+ e& h* oI/O Address: B2h Attribute: R/W. T% Z; A5 o' o a
Default Value: 00h Size: 8-bit
/ O% I! ^3 A& ~! E; j4 ^Lockable: No Usage: Legacy Only7 R4 r: G1 t- ?- Q. P
Power Well: Core4 ]$ R3 h, Z$ f+ w) Q- q7 Q% E
Bit Description( p$ |+ R* b0 [5 }$ [ Q. {
7:0" Q4 J6 W/ [3 r' V8 G
Used to pass an APM command between the OS and the SMI handler. Writes to this
) K2 n& `$ x8 N( oport not only store data in the APMC register, but also generates an SMI# when the& I( ~- O7 ]+ H8 }/ @
APMC_EN bit is set.
( U3 ~4 {3 a2 m2 M---------------------------------------
! @8 Y) b8 Z8 M/ _8 C ]1 l. P. U# @' ]. Y" {. o# v9 P0 R
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|