如何有软体产生一个SMI
想写一个小程序.可以由该软件产生一个SMI事件给BIOS? 有没有前辈指点一下! 我刚好在看ICH8 datasheet,其中PM1_STS—Power Management 1 Status Register
Note: Bit 5 does not cause an SMI# or a wake event. Bit 0 does not cause a wake event but can cause an
SMI# or SCI.
建议在DATASHEET中搜索一下SMI
[ 本帖最后由 jackey_gu 于 2008-7-15 16:24 编辑 ] 可以把software smi value写入一个特定SMI TRAP IO端口来产生SW SMI。对于intel chipset来说,这个端口一般是0B2h。
ich7 spec里摘出的:
----------------------------------------
APM_CNT—Advanced Power Management Control Port Register
I/O Address: B2h Attribute: R/W
Default Value: 00h Size: 8-bit
Lockable: No Usage: Legacy Only
Power Well: Core
Bit Description
7:0
Used to pass an APM command between the OS and the SMI handler. Writes to this
port not only store data in the APMC register, but also generates an SMI# when the
APMC_EN bit is set.
---------------------------------------
[ 本帖最后由 alanzhu 于 2008-7-15 16:57 编辑 ] 谢谢,已经搞定了,往B2Port 写值就可以产生了? 那么对于不同的Chipset都是B2Port吗? AMD chipset 是CD6
页:
[1]