coreboot/src/lib
Aaron Durbin e236bf0750 BACKPORT: x86: provide infrastructure to backup default SMM region
Certain CPUs require the default SMM region to be backed up
on resume after a suspend. The reason is that in order to
relocate the SMM region the default SMM region has to be used.
As coreboot is unaware of how that memory is used it needs to
be backed up. Therefore provide a common method for doing this.

BUG=chrome-os-partner:26563
BRANCH=baytrail
TEST=Confirmed SMM backup region in cbmem. Suspend and Resumed.

Change-Id: I65fe1317dc0b2203cb29118564fdba995770ffea
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/188716
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
2014-03-07 00:32:54 +00:00
..
cbfs.c aarch64: Fix 64-bit pointer related casts 2014-02-24 19:19:38 +00:00
cbfs_core.c cbfs: Check return value of map() for error 2013-10-29 19:14:52 +00:00
cbmem.c aarch64: Fix 64-bit pointer related casts 2014-02-24 19:19:38 +00:00
cbmem_console.c cbmem console: reduce temporary buffer size for dynamic CBMEM 2013-09-10 18:23:29 +00:00
cbmem_info.c BACKPORT: x86: provide infrastructure to backup default SMM region 2014-03-07 00:32:54 +00:00
clog2.c printk_foo -> printk(BIOS_FOO, ...) 2010-03-22 11:42:32 +00:00
compute_ip_checksum.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
coreboot_table.c cbmem: Export ACPI GNVS cbmem pointer in coreboot table 2013-12-13 03:55:46 +00:00
debug.c Myles suspected this hangs certain machines, so back it out. 2010-04-15 12:43:07 +00:00
delay.c - Major cleanup of the bootpath 2003-07-19 04:28:22 +00:00
dynamic_cbmem.c Rename cpu/x86/car.h to arch/early_variables.h 2013-07-30 13:40:23 -07:00
edid.c Peppy graphics 2013-09-27 23:07:14 +00:00
fallback_boot.c Make set_boot_successful depend on PC80_SYSTEM 2012-11-30 21:33:35 +01:00
gcc.c Unify assembler function handling 2012-12-06 23:13:17 +01:00
gcov-glue.c BACKPORT: coverage: use boot state callbacks 2013-05-01 14:30:01 -07:00
gcov-io.c Implement GCC code coverage analysis 2013-01-12 19:09:55 +01:00
gcov-io.h Implement GCC code coverage analysis 2013-01-12 19:09:55 +01:00
gcov-iov.h Implement GCC code coverage analysis 2013-01-12 19:09:55 +01:00
generic_dump_spd.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
generic_sdram.c Remove duplicate line from pci_ids.h. 2010-10-07 23:02:06 +00:00
hardwaremain.c implement a simple payload chooser for coreboot. 2013-12-23 07:57:10 +00:00
hexdump.c Add simple hexdump function 2013-07-30 15:25:06 -07:00
jpeg.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
jpeg.h Random cosmetic fixes (trivial). 2010-02-22 16:41:49 +00:00
libgcov.c Update gcov patch in documentation 2013-01-19 01:00:50 +01:00
lzma.c lib: Prevent unaligned memory access and fix endianess in LZMA decode library. 2013-02-01 06:15:49 +01:00
lzmadecode.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
lzmadecode.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
Makefile.inc Fix the reg_script stuff to not be used in ARM builds and not break them. 2013-11-02 01:07:13 +00:00
malloc.c SMM: Add support for malloc in SMM if using TSEG 2012-07-24 23:44:19 +02:00
memchr.c Add an implementation for the memchr library function 2012-03-09 20:00:53 +01:00
memcmp.c - Initial checkin of the freebios2 tree 2003-04-22 19:02:15 +00:00
memcpy.c fix compiler warnings (trivial) 2009-01-20 21:40:16 +00:00
memmove.c tidy 2004-03-13 03:40:29 +00:00
memrange.c memrange: add 2 new range_entry routines 2013-03-29 20:11:28 +01:00
memset.c fix compiler warnings (trivial) 2009-01-20 21:40:16 +00:00
ne2k.c x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
nrv2b.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
ns8390.h Add support for the console over Ethernet (through PCI NE2000). 2010-07-16 20:02:09 +00:00
ramstage_cache.c ramstage_cache: allow ramstage usage add valid helper 2013-12-13 00:07:08 +00:00
ramtest.c Replace ramtest pattern to assist in DIMM configuration 2012-03-25 20:17:51 +02:00
reg_script.c baytrail: add more iosf access functions 2013-12-12 19:47:21 +00:00
rmodule.c rmodule: consolidate rmodule stage loading 2013-10-24 18:06:13 +00:00
rmodule.ld ARMv7: get rmodule support to compile 2013-09-20 00:52:02 +00:00
selfboot.c aarch64: Fix 64-bit pointer related casts 2014-02-24 19:19:38 +00:00
stack.c stack check: cosmetics 2013-11-15 03:54:51 +00:00
thread.c Possible thread stack implementation. 2013-08-23 10:38:10 -07:00
timer_queue.c BACKPORT: coreboot: add timer queue implementation 2013-05-01 14:30:57 -07:00
timestamp.c Timestamp implementation for ARMv7 2013-08-02 12:16:42 -07:00
trace.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
uart8250.c UART 8250: Unconditionally provide register constants and use UART8250 prefix. 2013-10-02 09:18:38 +00:00
uart8250mem.c UART 8250: Unconditionally provide register constants and use UART8250 prefix. 2013-10-02 09:18:38 +00:00
usbdebug.c USBDEBUG: retry harder for slow devices 2012-07-30 20:54:24 +02:00
version.c This patch fixes build.h dependencies in coreboot again. 2010-03-29 13:04:13 +00:00
xmodem.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00