From 7c6e3399aec5e1b45e0bee684af67f15c08e0a20 Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Tue, 5 Sep 2017 10:25:43 -0600 Subject: cpu/x86/smm: Add define for AMD64 save area Create an SMM_AMD64_SAVE_STATE_OFFSET #define similar to others in the same file. Change-Id: I0a051066b142cccae3d2c7df33be11994bafaae0 Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/21499 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- src/include/cpu/x86/smm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h index bd0e356a3c..eab20aeb2f 100644 --- a/src/include/cpu/x86/smm.h +++ b/src/include/cpu/x86/smm.h @@ -37,7 +37,8 @@ * starts @ 0x7e00 */ #define SMM_AMD64_ARCH_OFFSET 0x7e00 - +#define SMM_AMD64_SAVE_STATE_OFFSET \ + SMM_SAVE_STATE_BEGIN(SMM_AMD64_ARCH_OFFSET) typedef struct { u16 es_selector; u16 es_attributes; -- cgit v1.2.3