summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/smm.h4
-rw-r--r--src/include/smmstore.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index a12065b90b..44a1086e4f 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -93,6 +93,8 @@ struct smm_runtime {
#endif
uintptr_t save_state_top[CONFIG_MAX_CPUS];
int smm_log_level;
+ uintptr_t smmstore_com_buffer_base;
+ size_t smmstore_com_buffer_size;
} __packed;
struct smm_module_params {
@@ -231,4 +233,6 @@ bool smm_pci_resource_store_fill_resources(struct smm_pci_resource_info *slots,
void smm_pci_resource_store_init(struct smm_runtime *smm_runtime);
+void smm_get_smmstore_com_buffer(uintptr_t *base, size_t *size);
+
#endif /* CPU_X86_SMM_H */
diff --git a/src/include/smmstore.h b/src/include/smmstore.h
index d3940abc3f..6805cbc069 100644
--- a/src/include/smmstore.h
+++ b/src/include/smmstore.h
@@ -16,7 +16,7 @@
#define SMMSTORE_CMD_APPEND 3
/* Version 2 */
-#define SMMSTORE_CMD_INIT 4
+#define SMMSTORE_CMD_INIT_DEPRECATED 4
#define SMMSTORE_CMD_RAW_READ 5
#define SMMSTORE_CMD_RAW_WRITE 6
#define SMMSTORE_CMD_RAW_CLEAR 7