Hello build bot (Jenkins), Patrick Georgi, Duncan Laurie, Subrata Banik, Brandon Breitenstein, Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/39483
to look at the new patch set (#2).
Change subject: memrange: Enable memranges to support different alignments ......................................................................
memrange: Enable memranges to support different alignments
This change enables memranges library to support addresses with different alignments. Before this change, memranges library supported aligning addresses to 4KiB only. Though this works for most cases, it might not be the right alignment for every use case. Example: There are some resource allocator changes coming up that require a different alignment when handling the range list.
This change adds a align parameter to struct memranges that determines the alignment of all range lists in that memrange. In order to continue supporting current users of memranges, default alignment is maintained as 4KiB.
BUG=b:149186922
Signed-off-by: Furquan Shaikh furquan@google.com Change-Id: I1da0743ff89da734c9a0972e3c56d9f512b3d1e8 --- M src/include/memrange.h M src/lib/memrange.c 2 files changed, 40 insertions(+), 15 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/39483/2