summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/arm64/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/arm64/mmu.c')
-rw-r--r--payloads/libpayload/arch/arm64/mmu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/arm64/mmu.c b/payloads/libpayload/arch/arm64/mmu.c
index cb0081b789..bc4c233479 100644
--- a/payloads/libpayload/arch/arm64/mmu.c
+++ b/payloads/libpayload/arch/arm64/mmu.c
@@ -705,3 +705,8 @@ void mmu_presysinfo_enable(void)
mmu_init(&usedmem_ranges);
mmu_enable();
}
+
+const struct mmu_ranges *mmu_get_used_ranges(void)
+{
+ return &usedmem_ranges;
+}