Hello Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48113
to look at the new patch set (#2).
Change subject: libpayload: Provide API to expose mmu memery ranges for all archs ......................................................................
libpayload: Provide API to expose mmu memery ranges for all archs
Provide lib_get_mmu_ranges() to let payloads could get mmu information for all used memory regions.
* Move mmu related structure from arm64 mmu.h to new include/mmu_range.h * Provide empty API for x86 and arm.
BUG=b:171858277 TEST=Build in x86, arm, arm64. emerge-zork libpayload depthcharge emerge-nyan libpayload depthcharge emerge-asurada libpayload depthcharge
Signed-off-by: Meng-Huan Yu menghuan@google.com Change-Id: I39b24aefc9dbe530169b272e839d0e1e7c697742 --- M payloads/libpayload/arch/arm/Makefile.inc A payloads/libpayload/arch/arm/mmu.c M payloads/libpayload/arch/arm64/mmu.c M payloads/libpayload/arch/x86/Makefile.inc A payloads/libpayload/arch/x86/mmu.c M payloads/libpayload/include/arm64/arch/mmu.h M payloads/libpayload/include/libpayload.h A payloads/libpayload/include/mmu_range.h 8 files changed, 131 insertions(+), 19 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/48113/2