coreboot: tiered imd

Hardware / Coreboot - Aaron Durbin [chromium.org] - 22 April 2015 10:54 UTC

A tiered imd allows for both small and large allocations. The small allocations are packed into a large region. Utilizing a tiered imd reduces internal fragmentation within the imd.

Change-Id: I0bcd6473aacbc714844815b24d77cb5c542abdd0

cac5050 coreboot: tiered imd
src/include/cbmem.h | 2 +
src/include/imd.h | 18 +-
src/lib/imd.c | 474 +++++++++++++++++++++++++++++++++++++--------------
3 files changed, 366 insertions(+), 128 deletions(-)

Upstream: review.coreboot.org


  • Share