Attention is currently required from: Jérémy Compostella, Martin L Roth, Maximilian Brune.

Nico Huber uploaded patch set #4 to this change.

View Change

[RFC] region: Introduce region_create() functions

This introduces two new functions to create region objects. They allow
us to check for integer overflows (region_create_untrusted()) or assert
their absence (region_create()).

Again, FIT payload support is left out, as it doesn't use the region API
(only the struct).

Change-Id: I4ae3e6274c981c9ab4fb1263c2a72fa68ef1c32b
Signed-off-by: Nico Huber <nico.h@gmx.de>
---
M src/commonlib/include/commonlib/region.h
M src/cpu/x86/smm/smm_module_loader.c
M src/drivers/spi/spi_flash.c
M src/drivers/spi/winbond.c
M src/include/cpu/x86/smm.h
M src/lib/fmap.c
M src/soc/qualcomm/common/qclib.c
M src/soc/qualcomm/sc7280/soc.c
M util/cbfstool/cbfstool.c
M util/cbfstool/cse_serger.c
10 files changed, 82 insertions(+), 53 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/79905/4

To view, visit change 79905. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4ae3e6274c981c9ab4fb1263c2a72fa68ef1c32b
Gerrit-Change-Number: 79905
Gerrit-PatchSet: 4
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Reviewer: Martin L Roth <gaumless@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Maximilian Brune <maximilian.brune@9elements.com>
Gerrit-Attention: Martin L Roth <gaumless@gmail.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Attention: Maximilian Brune <maximilian.brune@9elements.com>
Gerrit-MessageType: newpatchset