cpu/amd/agesa/family15tn: Add initial support for SMM mode

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

This is the minimal setup needed to be able to execute SMI handlers. Only support for ASEG handlers is added, which should be sufficient for Trinity (up to 4 cores).

There are a few hacks which need to be introduced in generic code in order to make this work properly, but these hacks are self-contained. They are a not a result of any special needs of this CPU, but rather from a poorly designed infrastructure. Comments are added to explain how such code could be refactored in the future.

Change-Id: Iefd4ae17cf0206cae8848cadba3a12cbe3b2f8b6

53072d8 cpu/amd/agesa/family15tn: Add initial support for SMM mode
src/cpu/amd/agesa/family15tn/Makefile.inc | 1 +
src/cpu/amd/agesa/family15tn/model_15_init.c | 16 ++++++++++++++++
src/cpu/x86/smm/smmhandler.S | 8 ++++++++
src/cpu/x86/smm/smmrelocate.S | 3 ++-
src/include/cpu/amd/amdfam15.h | 2 ++
5 files changed, 29 insertions(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share