SMM: add mainboard_apm_cnt() callback
authorSven Schnelle <svens@stackframe.org>
Sat, 4 Jun 2011 17:35:22 +0000 (19:35 +0200)
committerPatrick Georgi <patrick@georgi-clan.de>
Mon, 6 Jun 2011 15:56:13 +0000 (17:56 +0200)
commitc21b054acc866dc79c4783338e97337b9ca9c587
tree109d4110045d1fdc7639addb89f0a42a9461c3bd
parent140a990a612e25a6d4974f696b9fa757e834d764
SMM: add mainboard_apm_cnt() callback

motherboards can use this hook to get notified if someone writes
to the APM_CNT port (0xb2). If the hook returns 1, the chipset
specific hook is also skipped.

Change-Id: I05f1a27cebf9d25db8064f2adfd2a0f5759e48b5
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/3
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
src/include/cpu/x86/smm.h
src/southbridge/intel/i82801gx/smihandler.c