summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2018-12-03 16:13:17 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-12-05 13:31:22 +0000
commit9fca297ca44eb388229523f820f57f795b49af15 (patch)
tree34ee372b26574117b17fe0ca6007596b7671dc00 /src/include
parentd61839c3ea6dd5e35f680ce56b9e2f8247833116 (diff)
smmstore: make smmstore's SMM handler code follow everything else
Instead of SMMSTORE_APM_CNT use APM_CNT_SMMSTORE and define it in cpu/x86/smm.h Change-Id: Iabc0c9662284ed3ac2933001e64524011a5bf420 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/30023 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/smm.h1
-rw-r--r--src/include/smmstore.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index 857ab356cb..576449da61 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -473,6 +473,7 @@ typedef struct {
#define APM_CNT_GNVS_UPDATE 0xea
#define APM_CNT_FINALIZE 0xcb
#define APM_CNT_LEGACY 0xcc
+#define APM_CNT_SMMSTORE 0xed
#define APM_CNT_ELOG_GSMI 0xef
#define APM_STS 0xb3
diff --git a/src/include/smmstore.h b/src/include/smmstore.h
index 685a425dab..a535c5ba35 100644
--- a/src/include/smmstore.h
+++ b/src/include/smmstore.h
@@ -19,8 +19,6 @@
#include <stddef.h>
#include <stdint.h>
-#define SMMSTORE_APM_CNT 0xed
-
#define SMMSTORE_RET_SUCCESS 0
#define SMMSTORE_RET_FAILURE 1
#define SMMSTORE_RET_UNSUPPORTED 2