Add support to run SMM handler in TSEG instead of ASEG
authorStefan Reinauer <reinauer@chromium.org>
Mon, 2 Apr 2012 20:24:04 +0000 (13:24 -0700)
committerPeter Stuge <peter@stuge.se>
Wed, 4 Apr 2012 02:49:09 +0000 (04:49 +0200)
commit3aa067f595115a62afdfc9acc33f08e9c96da850
tree1dad56c263c7f84d59440ec32654de76b78d6f2b
parent6efbebdb58357b8d1aad43f51c91defd452296f6
Add support to run SMM handler in TSEG instead of ASEG

Traditionally coreboot's SMM handler runs in ASEG (0xa0000),
"behind" the graphics memory. This approach has two issues:
- It limits the possible size of the SMM handler (and the
  number of CPUs supported in a system)
- It's not considered a supported path anymore in newer CPUs.

Change-Id: I9f2877e46873ab2ea8f1157ead4bc644a50be19e
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Acked-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/842
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: build bot (Jenkins)
Makefile.inc
src/console/vtxprintf.c
src/cpu/x86/smm/Makefile.inc
src/cpu/x86/smm/smihandler.c
src/cpu/x86/smm/smm_tseg.ld [new file with mode: 0644]
src/cpu/x86/smm/smmhandler_tseg.S [new file with mode: 0644]
src/cpu/x86/smm/smmrelocate.S
src/include/cpu/x86/smm.h