diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-02-13 10:26:18 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-02-16 20:42:07 +0100 |
commit | b4b9eb399ef2f5539afce6e43b49d4cf1613ae9e (patch) | |
tree | 363bfb9ef15b247fbc9f1de2aca8941422acba4e /src/lib | |
parent | af5ca44784618aec5474991ac50adc3c73020f45 (diff) | |
download | coreboot-b4b9eb399ef2f5539afce6e43b49d4cf1613ae9e.tar.xz |
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.
Change-Id: I65fe1317dc0b2203cb29118564fdba995770ffea
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/5216
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/cbmem_info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/cbmem_info.c b/src/lib/cbmem_info.c index de43c667a8..339e6b9772 100644 --- a/src/lib/cbmem_info.c +++ b/src/lib/cbmem_info.c @@ -50,6 +50,7 @@ static struct cbmem_id_to_name { { CBMEM_ID_AGESA_RUNTIME, "AGESA RSVD " }, { CBMEM_ID_EHCI_DEBUG, "USBDEBUG " }, { CBMEM_ID_REFCODE, "REFCODE " }, + { CBMEM_ID_SMM_SAVE_SPACE, "SMM BACKUP " }, { CBMEM_ID_REFCODE_CACHE, "REFCODE $ " }, }; |