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
..
2024-01-26 12:43:18 +00:00
2022-10-13 17:07:02 +00:00
2024-05-29 10:33:54 +00:00
2024-01-26 12:43:18 +00:00
2022-11-22 12:47:09 +00:00
2020-02-01 19:51:31 +00:00
2021-10-25 08:08:41 +00:00
2021-11-29 18:44:34 +00:00
2020-11-15 16:49:30 +00:00
2022-09-02 23:51:29 +00:00
2024-03-13 18:51:11 +00:00
2022-08-03 23:24:49 +00:00
2020-05-09 21:22:08 +00:00
2021-03-13 04:16:20 +00:00
2024-03-13 18:51:11 +00:00
2023-09-14 21:01:56 +00:00
2024-08-20 01:41:59 +00:00
2024-03-27 14:00:56 +00:00
2020-12-03 00:00:33 +00:00
2024-08-23 01:08:16 +00:00
2021-10-04 02:31:01 +00:00
2022-11-09 00:26:30 +00:00
2024-08-05 13:10:08 +00:00
2022-11-02 21:40:25 +00:00
2021-10-19 16:08:45 +00:00
2021-10-19 16:08:45 +00:00
2021-10-19 16:08:45 +00:00
2021-10-19 16:08:45 +00:00
2024-08-23 01:08:16 +00:00
2021-10-19 16:10:12 +00:00
2023-06-23 08:59:50 +00:00
2018-01-20 16:11:44 +00:00
2018-07-26 13:26:50 +00:00
2021-03-13 04:17:35 +00:00
2024-06-20 19:34:14 +00:00
2024-06-20 19:34:14 +00:00
2023-03-02 13:05:35 +00:00
2024-07-16 05:05:51 +00:00
2023-03-02 13:05:35 +00:00
2013-02-04 11:12:15 +01:00
2020-05-06 22:20:57 +00:00
2022-09-15 13:01:42 +00:00
2021-03-19 11:22:55 +00:00
2020-05-09 21:22:08 +00:00
2023-09-25 14:06:32 +00:00
2022-07-04 14:02:26 +00:00
2020-05-09 21:22:08 +00:00
2020-05-09 21:22:08 +00:00
2020-12-08 18:59:05 +00:00
2023-09-28 21:28:37 +00:00
2023-09-28 21:28:37 +00:00
2020-05-09 21:22:08 +00:00
2023-09-28 21:28:37 +00:00
2023-09-28 21:28:37 +00:00
2020-05-09 21:22:08 +00:00
2020-05-09 21:22:08 +00:00
2020-09-23 13:39:14 +00:00
2021-09-02 06:07:08 +00:00
2023-03-28 13:28:15 +00:00
2023-08-01 12:51:25 +00:00
2024-02-18 07:50:28 +00:00
2021-06-04 12:35:14 +00:00
2024-06-03 16:54:02 +00:00
2023-04-16 14:04:32 +00:00
2024-06-19 17:42:43 +00:00
2024-01-26 12:43:18 +00:00
2020-05-09 21:22:08 +00:00
2021-01-13 12:07:17 +00:00
2020-05-09 21:22:08 +00:00
2022-09-02 23:51:29 +00:00
2020-05-11 19:38:40 +00:00
2020-05-09 21:22:08 +00:00
2023-10-20 14:32:20 +00:00
2023-09-14 21:01:56 +00:00
2020-05-09 21:22:08 +00:00