diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2019-11-27 16:21:46 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-07 20:52:22 +0000 |
commit | a3eb3df01c9f1ed6fc0bd3ef341a01981d4e7479 (patch) | |
tree | 6e1ef275fb8b21f0e2df740d07114ae48c02f754 /src/include/kconfig.h | |
parent | 3cd4327ad97c47b4684861bfd8d1551ca3c6e7eb (diff) | |
download | coreboot-a3eb3df01c9f1ed6fc0bd3ef341a01981d4e7479.tar.xz |
cpu/x86/smm: Add smm_size to relocatable smmstub
To mitigate against sinkhole in software which is required on
pre-sandybridge hardware, the smm entry point needs to check if the
LAPIC base is between smbase and smbase + smmsize. The size needs to
be available early so add them to the relocatable module parameters.
When the smmstub is used to relocate SMM the default SMM size 0x10000
is provided. On the permanent handler the size provided by
get_smm_info() is used.
Change-Id: I0df6e51bcba284350f1c849ef3d012860757544b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37288
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include/kconfig.h')
0 files changed, 0 insertions, 0 deletions