southbridge/amd/agesa/hudson: Add initial support for SMM

Hardware / Coreboot - Alexandru Gagniuc [gmail.com] - 16 April 2014 21:41 UTC

This sets up the infrastructure to handle SMIs generated by the Hudson southbridge. An API for interfacing to mainboard handlers is not defined at this point. A few functions are defined to allow mainboard code to enable SMIs from GEVENT pins. These are the only functions which I expect to be needed anytime in the foreseeable future.

SMIs are always acknowledged and cleared, as not clearing an SMI will cause us to re-enter the SMI, effectively bricking the machine if a southbridge-generated SMI without a handler occurs.

Change-Id: Ibceb21ac5423eb134d3eb7d24800280b183f7619

2dbd08f southbridge/amd/agesa/hudson: Add initial support for SMM
src/southbridge/amd/agesa/hudson/Makefile.inc | 3 +
src/southbridge/amd/agesa/hudson/smi.c | 60 +++++++++++++++
src/southbridge/amd/agesa/hudson/smi.h | 57 ++++++++++++++
src/southbridge/amd/agesa/hudson/smihandler.c | 100 +++++++++++++++++++++++++
4 files changed, 220 insertions(+)

Upstream: review.coreboot.org


  • Share