From 30bc0a4b66151d461fc07eee4fe749fbb5aea1aa Mon Sep 17 00:00:00 2001 From: Eugene Myers Date: Thu, 13 May 2021 06:03:28 -0400 Subject: [PATCH] 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 Original-Change-Id: Iddb1f45444d03465a66a4ebb9fde5f206dc5b300 Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/38657 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: ron minnich Change-Id: I13a237c1372b79756e19d7ecbbd1946a44f2049f Signed-off-by: Eugene Myers Reviewed-on: https://review.coreboot.org/c/coreboot/+/55620 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/arch/x86/include/arch/rom_segs.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */