summaryrefslogtreecommitdiffstats
path: root/src/security/intel/stm/StmPlatformSmm.c
diff options
context:
space:
mode:
authorEugene Myers <edmyers@tycho.nsa.gov>2021-05-12 07:55:28 -0400
committerStefan Reinauer <stefan.reinauer@coreboot.org>2023-06-10 03:21:08 +0000
commite7e2bd2a593e95fb8fe7b4020a6822ce9cd8a1ff (patch)
tree6452249a87db4fed716850f56028b4b00fe7a99d /src/security/intel/stm/StmPlatformSmm.c
parent0f93a91548c254c7759174b333e51edb65a95712 (diff)
downloadcoreboot-e7e2bd2a593e95fb8fe7b4020a6822ce9cd8a1ff.tar.gz
coreboot-e7e2bd2a593e95fb8fe7b4020a6822ce9cd8a1ff.tar.bz2
coreboot-e7e2bd2a593e95fb8fe7b4020a6822ce9cd8a1ff.zip
cpu/x86/: Centralize MSEG location calculation
This patch centralizes the MSEG location calculation. In the current implementation, the calculation happens in smm_module_loader and mp_init. When smm_module_loaderv2 was added, this calculation became broken as the original calculation made assumptions based on perm_smbase. The calculation is now located in smm_subregion (tseg_region.c), as the MSEG is located within the TSEG (or SMM); These patches have been tested on a Purism librem-l1um server. Change-Id: Ic17e1a505401c3b2a218826dffae6fe12a5c15c6 Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55628 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/intel/stm/StmPlatformSmm.c')
0 files changed, 0 insertions, 0 deletions