[coreboot-gerrit] Patch merged into coreboot/master: 20686d8 coreboot: add imd library
gerrit at coreboot.org
gerrit at coreboot.org
Wed Apr 22 17:54:43 CEST 2015
the following patch was just integrated into master:
commit 20686d851ce450750039f5f871160d49118a2210
Author: Aaron Durbin <adurbin at chromium.org>
Date: Thu Mar 5 14:11:27 2015 -0600
coreboot: add imd library
The imd (internal memory database) library provides a way to
track memory regions by assigning ids to each region. The implementation
is a direct descendant of dynamic cbmem. The intent is to replace
the existing mechanisms which do similar things: dynamic cbmem, stage
cache, etc.
Differences between dynamic cbmem and imd:
- All structures/objects are relative to one another. There
are no absolute pointers serialized to memory.
- Allow limiting the size of the idm. i.e. provide a maximum
memory usage.
- Allow setting the size of the root structure which allows
control of the number of allocations to track.
Change-Id: Id7438cff80d396a594d6a7330d09b45bb4fedf2e
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
Reviewed-on: http://review.coreboot.org/8621
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones at se-eng.com>
See http://review.coreboot.org/8621 for details.
-gerrit
More information about the coreboot-gerrit
mailing list