aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorEugene Myers <edmyers@tycho.nsa.gov>2019-10-09 00:38:43 -0400
committerPatrick Georgi <pgeorgi@google.com>2020-02-04 18:54:37 +0000
commit7a4983d1d2731cf3ea82016b6b8009668c1fc3f2 (patch)
treed56e1a24cc2b218df8225d678a9545bfbf98abc1 /src/arch
parentebc8423cbcb0bcd95c45e68cdf04af9f10be1bfe (diff)
arch/x86/include/arch: Add SMM_TASK_STATE_SEG
This define is used to set up the STM SMM Descriptor table tr entry. Signed-off-by: Eugene D. Myers <edmyers@tycho.nsa.gov> Change-Id: Iddb1f45444d03465a66a4ebb9fde5f206dc5b300 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38657 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/rom_segs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/rom_segs.h b/src/arch/x86/include/arch/rom_segs.h
index a19d3de461..c11def6b02 100644
--- a/src/arch/x86/include/arch/rom_segs.h
+++ b/src/arch/x86/include/arch/rom_segs.h
@@ -18,4 +18,11 @@
#define ROM_DATA_SEG 0x10
#define ROM_CODE_SEG64 0x18
+/*
+ * This define is placed here to make sure future romstage programmers
+ * know about it.
+ * It is used for STM setup code.
+ */
+#define SMM_TASK_STATE_SEG 0x20
+
#endif /* ROM_SEGS_H */