summaryrefslogtreecommitdiff
path: root/src/lib/libgcc.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-01-15 21:59:37 -0600
committerAaron Durbin <adurbin@chromium.org>2016-01-23 18:25:26 +0100
commit1b915b89044c06ae7957544b97d6c30d496366e0 (patch)
tree5472249fc7700bd592c3d7d725ddef587e28aa13 /src/lib/libgcc.c
parent4a30ab90965ac68de723383897d38e5b59f558cd (diff)
downloadcoreboot-1b915b89044c06ae7957544b97d6c30d496366e0.tar.xz
lib/memrange: allow stack allocated free list
Instead of solely relying on malloc for building up an address space for the range_entry objects allow one to supply a list of free entries to memranges_init_empty(). Doing this and only calling malloc() in ramstage allows a memranges oboject to be used in a malloc()-free environment. Change-Id: I96c0f744fc04031a7ec228620a690b20bad36804 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13020 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib/libgcc.c')
0 files changed, 0 insertions, 0 deletions