summaryrefslogtreecommitdiff
path: root/src/lib/Makefile.inc
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-03-05 14:11:27 -0600
committerAaron Durbin <adurbin@chromium.org>2015-04-22 17:54:41 +0200
commit20686d851ce450750039f5f871160d49118a2210 (patch)
treecabba57012853074cbf31e4a82938c7357c78696 /src/lib/Makefile.inc
parent818e928d12be9376476ee299fccf9cfe47abb1f2 (diff)
downloadcoreboot-20686d851ce450750039f5f871160d49118a2210.tar.xz
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@chromium.org> Reviewed-on: http://review.coreboot.org/8621 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/lib/Makefile.inc')
-rw-r--r--src/lib/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 19ff2b291a..5c715d7a61 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -102,6 +102,9 @@ ramstage-y += b64_decode.c
romstage-y += cbmem_common.c dynamic_cbmem.c
ramstage-y += cbmem_common.c dynamic_cbmem.c
+romstage-y += imd.c
+ramstage-y += imd.c
+
ramstage-y += hexdump.c
romstage-y += hexdump.c