aboutsummaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/include/arm64/arch/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/arm64/arch/mmu.h')
-rw-r--r--payloads/libpayload/include/arm64/arch/mmu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/arm64/arch/mmu.h b/payloads/libpayload/include/arm64/arch/mmu.h
index fdb1cc86d..abd29f5ad 100644
--- a/payloads/libpayload/include/arm64/arch/mmu.h
+++ b/payloads/libpayload/include/arm64/arch/mmu.h
@@ -181,6 +181,8 @@ extern char _start[], _end[];
#define DMA_DEFAULT_SIZE (0x20 * GRANULE_SIZE)
#define TTB_DEFAULT_SIZE 0x100000
+#define MB_SIZE (1UL << 20)
+
/* Initialize the MMU TTB tables using the mmu_ranges */
uint64_t mmu_init(struct mmu_ranges *mmu_ranges);