coreboot/src/cpu/x86/smm
Robert Zieba ac8c378777 cpu/x86/smm: Add PCI resource store functionality
In certain cases data within protected memmory areas like SMRAM could
be leaked or modified if an attacker remaps PCI BARs to point within
that area. Add support to the existing SMM runtime to allow storing
PCI resources in SMRAM and then later retrieving them.

BRANCH=guybrush
BUG=b:186792595
TEST=builds

Signed-off-by: Robert Zieba <robertzieba@google.com>
Change-Id: I23fb1e935dd1b89f1cc5c834cc2025f0fe5fda37
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67931
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
2023-03-05 15:31:07 +00:00
..
Makefile.inc cpu/x86/smm: Add PCI resource store functionality 2023-03-05 15:31:07 +00:00
pci_resource_store.c cpu/x86/smm: Add PCI resource store functionality 2023-03-05 15:31:07 +00:00
save_state.c cpu/x86: Clean up includes 2022-10-26 16:37:34 +00:00
smm_module_handler.c cpu/x86/smm: Add PCI resource store functionality 2023-03-05 15:31:07 +00:00
smm_module_loader.c cpu/x86/smm: Add PCI resource store functionality 2023-03-05 15:31:07 +00:00
smm_stub.S cpu/x86/smm: Add sinkhole mitigation to relocatable smmstub 2022-04-11 14:12:27 +00:00
tseg_region.c cpu/x86/smm: Use common SMM_ASEG region 2022-11-16 15:34:44 +00:00