libpayload arm64: Add function to get new range from available memranges

Hardware / Coreboot - Furquan Shaikh [google.com] - 21 March 2015 07:39 UTC

Provide a function to obtain a new memrange with requested properties (type, size, alignment, max_addr and other restrictions) from the set of available memranges passed in coreboot table. One user of this function would be getting memrange for dma, another one would be framebuffer.

BUG=chrome-os-partner:31634 BRANCH=None TEST=Compiles successfully and boots to kernel prompt

Change-Id: Ic5a63ca2dca6c71f4ca2d77e2e2c8180d32a38e0

6985623 libpayload arm64: Add function to get new range from available memranges
payloads/libpayload/arch/arm64/mmu.c | 210 +++++++++++++++++++++++-----------
1 file changed, 144 insertions(+), 66 deletions(-)

Upstream: review.coreboot.org


  • Share