summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn E. Kabat Jr <john.kabat@scarletltd.com>2017-10-17 17:57:47 -0600
committerAaron Durbin <adurbin@chromium.org>2017-10-19 15:13:18 +0000
commite77d588ee46bfdff1a152f166eca84e3c5827665 (patch)
tree42b064bd696a6a3c026e67175b6cd33a546ff8bd
parent216ad2170ca893e7500c9b8dafa47c8c5fddbf2f (diff)
cpu/x86: add AMD registers to SMM save state
In amd64_smm_state_save_area_t break out fields in reserved4 to allow access. BUG=b:65485690 Change-Id: I592fbf18c166dc1890010dde29f76900a6849016 Signed-off-by: John E. Kabat Jr <john.kabat@scarletltd.com> Reviewed-on: https://review.coreboot.org/22092 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--src/include/cpu/x86/smm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index eab20aeb2f..7dcf4d70e2 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -90,7 +90,12 @@ typedef struct {
u32 tr_limit;
u64 tr_base;
- u8 reserved4[40];
+ u64 io_restart_rip;
+ u64 io_restart_rcx;
+ u64 io_restart_rsi;
+ u64 io_restart_rdi;
+ u32 smm_io_trap_offset;
+ u32 local_smi_status;
u8 io_restart;
u8 autohalt_restart;