|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。/ Z% `' [& k" k! P9 `5 Y( z
ich7 spec里摘出的:
% j# Z9 S/ B4 u m----------------------------------------7 r$ K2 O3 u7 J6 n3 m; b
APM_CNT—Advanced Power Management Control Port Register
' L% o& c* S- s1 DI/O Address: B2h Attribute: R/W
4 I' p6 G+ K! {- \3 GDefault Value: 00h Size: 8-bit7 c1 B- a- z8 H- K% {; J
Lockable: No Usage: Legacy Only
) V7 U* X' W5 \8 I8 {! H+ n+ CPower Well: Core
) W; p8 g4 ~5 CBit Description
, Q- d6 n! s5 [; w7:0, H( v# d5 c$ b- ^, J; [
Used to pass an APM command between the OS and the SMI handler. Writes to this
- i4 I: t1 i" Lport not only store data in the APMC register, but also generates an SMI# when the
0 A8 z: d3 @! k9 A9 a9 VAPMC_EN bit is set.
# K5 t/ {# a& a# Q---------------------------------------/ Q6 y( i* ]7 M5 ?! X. Q# l
4 j6 K" ~/ ]% Z2 C5 [( T5 k[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|