diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2017-09-05 10:25:43 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-09-27 15:57:02 +0000 |
commit | 7c6e3399aec5e1b45e0bee684af67f15c08e0a20 (patch) | |
tree | 6679f6d28dc77c692e68eb3d4dbf8cf224402ec0 /src/include | |
parent | a7bfbbedd6059183c5126bbea248fe52176f6386 (diff) | |
download | coreboot-7c6e3399aec5e1b45e0bee684af67f15c08e0a20.tar.xz |
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 <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/21499
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cpu/x86/smm.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |