[coreboot-gerrit] Change in coreboot[master]: cpu/x86/smm: Add define for AMD64 save area

Marshall Dawson (Code Review) gerrit at coreboot.org
Tue Sep 12 00:36:25 CEST 2017


Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/21499


Change subject: cpu/x86/smm: Add define for AMD64 save area
......................................................................

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 at gmail.com>
---
M src/include/cpu/x86/smm.h
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/21499/1

diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index bd0e356..eab20ae 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;

-- 
To view, visit https://review.coreboot.org/21499
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a051066b142cccae3d2c7df33be11994bafaae0
Gerrit-Change-Number: 21499
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170911/103e3ef9/attachment.html>


More information about the coreboot-gerrit mailing list