summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Myers <edmyers@tycho.nsa.gov>2021-05-13 06:03:28 -0400
committerPatrick Georgi <pgeorgi@google.com>2021-06-23 08:38:51 +0000
commit30bc0a4b66151d461fc07eee4fe749fbb5aea1aa (patch)
tree1af3b45ba0512a65dfa551de9296978a255a852c
parent44b614aef53ce6868e0e62f26a6f64b11ac5929a (diff)
downloadcoreboot-30bc0a4b66151d461fc07eee4fe749fbb5aea1aa.tar.gz
coreboot-30bc0a4b66151d461fc07eee4fe749fbb5aea1aa.tar.bz2
coreboot-30bc0a4b66151d461fc07eee4fe749fbb5aea1aa.zip
arch/x86/include/arch: Add SMM_TASK_STATE_SEG
This define is used to set up the STM SMM Descriptor table tr entry. Original-Signed-off-by: Eugene D. Myers <edmyers@tycho.nsa.gov> Original-Change-Id: Iddb1f45444d03465a66a4ebb9fde5f206dc5b300 Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/38657 Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Original-Reviewed-by: ron minnich <rminnich@gmail.com> Change-Id: I13a237c1372b79756e19d7ecbbd1946a44f2049f Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55620 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-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 a19d3de46144..c11def6b022a 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 */