|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
2 V+ X6 L6 M# A* h# c& Uich7 spec里摘出的:" G: e: R( P* T( m" X
----------------------------------------
& m% M1 K5 f! Y4 rAPM_CNT—Advanced Power Management Control Port Register
! Y% v6 p+ B% @, T' FI/O Address: B2h Attribute: R/W
0 [ o8 ?7 [: h$ f! K ^+ CDefault Value: 00h Size: 8-bit8 L- J" O1 a. H, {2 D# I) E: t
Lockable: No Usage: Legacy Only
. j6 ]; G* r1 k+ J, `5 R* A, P. nPower Well: Core
4 l% ?; Q$ J7 JBit Description( {; o/ Y, B) `+ p+ C
7:0* m) Q6 r& f% @" g9 [: b7 i5 a7 |
Used to pass an APM command between the OS and the SMI handler. Writes to this
) n3 O9 i2 B6 F: r/ w, O& Kport not only store data in the APMC register, but also generates an SMI# when the
* f' ?9 X" B7 {9 m; aAPMC_EN bit is set.
2 m2 i& D& W/ n2 o2 E: }---------------------------------------' X4 p6 E2 L$ h Q1 _- F3 H: z
" \8 j/ ]6 Z# e7 j+ u- h2 G[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|