switch-coreboot/src/mainboard
Duncan Laurie 7f3d442abb SMM: Avoid use of global variables in SMI handler
Using global variables with the TSEG is a bad idea because
they are not relocated properly right now.  Instead make
the variables static and add accessor functions for the
rest of SMM to use.

At the same time drop the tcg/smi1 pointers as they are
not setup or ever used.  (the debug output is added back
in a subsequent commit)

Change-Id: If0b2d47df4e482ead71bf713c1ef748da840073b
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/1764
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2012-11-14 05:43:26 +01:00
..
a-trend Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
aaeon Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
abit Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
advansus Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
advantech Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
amd Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
aopen Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
arima Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
artecgroup Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
asi Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
asrock Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
asus Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
avalue Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
axus Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
azza Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
bachmann Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
bcom Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
bifferos Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
biostar Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
broadcom Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
compaq Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
digitallogic Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
eaglelion Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
ecs Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
emulation Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
getac Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
gigabyte Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
hp Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
ibase Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
ibm Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
iei Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
intel SMM: Avoid use of global variables in SMI handler 2012-11-14 05:43:26 +01:00
iwave Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
iwill Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
jetway Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
kontron Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
lanner Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
lenovo Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
lippert Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
mitac Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
msi Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
nec Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
newisys Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
nokia Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
nvidia Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
pcengines Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
rca Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
roda mainboard/roda/rk886ex: Disable CHECK_SLFRCS_ON_RESUME 2012-11-08 20:32:03 +01:00
samsung SMM: Avoid use of global variables in SMI handler 2012-11-14 05:43:26 +01:00
siemens Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
soyo Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
sunw Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
supermicro Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
technexion Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
technologic Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
televideo Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
thomson Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
traverse Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
tyan Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
via Get rid of hard coded strings in ACPI tables 2012-11-09 19:03:45 +01:00
winent Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
wyse Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
Kconfig SandyBridge/IvyBridge: Add IFD and ME firmware automatically 2012-11-13 00:24:26 +01:00