diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-04-07 20:54:26 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-05-28 04:59:06 +0000 |
commit | 5747f6cdd15d494c101c2d2b2475968d1f7e4745 (patch) | |
tree | 8428befb4d1cc157a731802560447e6ce8e75ecf /src/cpu/x86/64bit | |
parent | 1b970bd2251a75b43e08fb2a8813b927866d0cc9 (diff) |
cpu/x86/smm_module_loader.c: Rewrite setup
This code is much easier to read if one does not have to keep track of
mutable variables.
This also fixes the alignment code on the TSEG smihandler setup code.
It was aligning the code upwards instead of downwards which would cause
it to encroach a part of the save state.
Change-Id: I310a232ced2ab15064bff99a39a26f745239f6b9
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63475
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Martin L Roth <gaumless@tutanota.com>
Diffstat (limited to 'src/cpu/x86/64bit')
0 files changed, 0 insertions, 0 deletions