Hello build bot (Jenkins), Duncan Laurie, Subrata Banik, Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/39484
to look at the new patch set (#2).
Change subject: memrange: Add support for stealing required memory from given ranges ......................................................................
memrange: Add support for stealing required memory from given ranges
This change adds memranges_steal() which allows the user to steal memory from the list of available ranges by providing a set of constraints (limit, size, alignment, tag). It tries to find the first big enough range that can satisfy the constraints, creates a hole as per the request and returns base of the stolen memory.
BUG=b:149186922
Signed-off-by: Furquan Shaikh furquan@google.com Change-Id: Ibe9cfae18fc6101ab2e7e27233e45324c8117708 --- M src/include/memrange.h M src/lib/memrange.c 2 files changed, 70 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/39484/2