|
|
发表于 2008-7-15 16:47:40
|
显示全部楼层
可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。" C+ |' a" Q* m) H4 Y
ich7 spec里摘出的:
8 {+ i' E% Q8 j3 H2 n9 o----------------------------------------3 d3 h9 t+ m. _- ?5 C: B+ v
APM_CNT—Advanced Power Management Control Port Register
! W3 J+ H: _! x0 n6 UI/O Address: B2h Attribute: R/W( w6 e. W( e9 y
Default Value: 00h Size: 8-bit
1 A. n" X: M, x9 a# qLockable: No Usage: Legacy Only
) {6 K& `& A- U9 ^+ h: FPower Well: Core
, m, v8 Q& s' M, fBit Description& A3 j8 z, d% I; z) s- R# `9 J8 u
7:00 r/ E- P6 u4 D3 x
Used to pass an APM command between the OS and the SMI handler. Writes to this4 S, Q9 d* S+ l2 T! {# v
port not only store data in the APMC register, but also generates an SMI# when the
- S7 a3 W% C' V& [9 x# MAPMC_EN bit is set.- W) T* `# V' j5 f6 \9 D( G
---------------------------------------
3 h9 c7 Y/ d$ b5 D+ J% F7 B G, {
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] |
|