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>
This commit is contained in:
Eugene Myers 2021-05-13 06:03:28 -04:00 committed by Patrick Georgi
parent 44b614aef5
commit 30bc0a4b66
1 changed files with 7 additions and 0 deletions

View File

@ -18,4 +18,11 @@
#define ROM_DATA_SEG 0x10 #define ROM_DATA_SEG 0x10
#define ROM_CODE_SEG64 0x18 #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 */ #endif /* ROM_SEGS_H */