coreboot/tests/lib
Nico Huber 41feb32559 region: Turn region_end() into an inclusive region_last()
The current region_end() implementation is susceptible to overflow
if the region is at the end of the addressable space. A common case
with the memory-mapped flash of x86 directly below the 32-bit limit.

Note: This patch also changes console output to inclusive limits.
IMO, to the better.

Change-Id: Ic4bd6eced638745b7e845504da74542e4220554a
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79946
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2024-08-23 01:08:16 +00:00
..
b64_decode-test.c
bootmem-test.c
cbfs-lookup-test.c
cbfs-verification-test.c
cbmem_console-test.c
cbmem_stage_cache-test.c
coreboot_table-test.c
crc_byte-test.c
dimm_info_util-test.c
edid-test.c
fmap-test.c
hexstrtobin-test.c
imd-test.c
imd_cbmem-test.c
lib-test.c
libgcc-test.c
lzma-test.c
Makefile.mk
malloc-test.c
memchr-test.c
memcmp-test.c
memcpy-test.c
memmove-test.c
memrange-test.c
memset-test.c
region_file-test.c region: Turn region_end() into an inclusive region_last() 2024-08-23 01:08:16 +00:00
rtc-test.c
spd_cache-test.c
stack-test.c
string-test.c
timestamp-test.c
uuid-test.c
ux_locales-test.c