|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
' D" _- m0 r5 b9 Y4 Aich7 spec里摘出的:& j, I; L4 J8 B$ e/ \
----------------------------------------1 w' x7 H: H' [1 n, t+ O
APM_CNT—Advanced Power Management Control Port Register
9 c6 Z' _' R) w: {0 iI/O Address: B2h Attribute: R/W
. o: @5 @/ X8 A% ?/ |Default Value: 00h Size: 8-bit
1 ~' L- \ M% m f, T" s# fLockable: No Usage: Legacy Only
" c5 ^* w5 `! x, Q8 |Power Well: Core
/ e: N9 @& H" |; T. _ p; rBit Description
4 C4 Y% {% J, _/ `6 {# ?5 {5 w7:0
* C/ M$ w8 ^: i# i$ ZUsed to pass an APM command between the OS and the SMI handler. Writes to this0 x! T* r( U2 Y% M
port not only store data in the APMC register, but also generates an SMI# when the0 r* u5 e* {: ~
APMC_EN bit is set.9 v. M- u5 L6 K5 i
---------------------------------------
, ^. B' C% W5 F5 N/ F
5 O) O7 c( D8 h/ V1 [3 s[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|