lib/bootmem: Add method to walk OS POV memory tables
commit64049be508671bbd98e2c69bbe32a2434bc17b9d
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Fri, 20 Apr 2018 08:37:51 +0000 (20 10:37 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 4 May 2018 10:06:18 +0000 (4 10:06 +0000)
tree47426e72f0723dcf60a10970ee8c6bba6697cf75
parentc653623d59bc207d035078b63d4bfe1c45e6f58d
lib/bootmem: Add method to walk OS POV memory tables

Add method to walk memory tables from OS point of view.
The tables don't change when modifiying bootmem entries and doesn't contain
bootmem specific tags.

Change-Id: Iee332a9821d12a7d9a684063b77b0502febd8d7d
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25747
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/include/bootmem.h
src/lib/bootmem.c