|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
% V+ T7 {! {& Mich7 spec里摘出的:
3 p4 ]* C0 r* \, n, V----------------------------------------& m2 `2 C; \! X1 _: Z P# y3 ~
APM_CNT—Advanced Power Management Control Port Register! N% o1 w3 I& j! f0 r
I/O Address: B2h Attribute: R/W
3 F: W1 h1 g# V& i2 Z5 @8 KDefault Value: 00h Size: 8-bit
& F' v- ?7 B/ a3 \Lockable: No Usage: Legacy Only9 y& U( A( _- {2 | c0 [
Power Well: Core
9 S6 ` \) u& z# TBit Description
( P* W% j6 R8 c3 r+ Y! O% @3 x( |7:0' ^ y; Q; q8 y/ S# W
Used to pass an APM command between the OS and the SMI handler. Writes to this
; o; q% }8 u. q* Q& c9 bport not only store data in the APMC register, but also generates an SMI# when the
% [* `# w& m$ S, k1 K6 OAPMC_EN bit is set.
7 ?6 E% C1 m" L Q k7 `---------------------------------------
7 y5 _' ?! J$ J% {6 R. ~. F& ]# }0 @; l& q
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|