summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/edid.h
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-04-15 23:25:44 -0700
committerJulius Werner <jwerner@chromium.org>2021-11-30 00:27:30 +0000
commit05714ccab70a8a36382351e22ce3d31d86a47bef (patch)
tree2c5f417077851f0d23e47f49db61b09055d87648 /src/drivers/intel/gma/edid.h
parent0cd6ab338c6ba93b286946449d6d250c25196e72 (diff)
cbfs: Add unverified_area APIs
This patch adds a new ..._unverified_area_... group of functions to the cbfs_map/_load/_alloc() APIs. These functions can be used to access custom FMAP sections and are meant to replace the existing cbfs_locate_file_in_region(). The name is intended to highlight that accesses through this API will not be verified when CBFS_VERIFICATION is enabled and should always be treated as if they may return malicious data. (Due to laziness I'm not adding the combination of this API with the ..._type_... variant at this point, since it seems very unlikely that we'll ever have a use case for that. If we ever do, it should be easy to add later.) (Also remove the 'inline' from cbfs_file_hash_mismatch(). I'm not sure why I put it there in the first place, probably a bad copy&paste.) Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I402265900f7075aa0c2f58d812c67ea63ddf2900 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59678 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/drivers/intel/gma/edid.h')
0 files changed, 0 insertions, 0 deletions