From f015258306f6820a51d7f9289cb9ea4257dcf9c6 Mon Sep 17 00:00:00 2001 From: Andrew Carp Date: Wed, 27 Nov 2024 09:15:24 -0800 Subject: [PATCH] aarch64/layout: Increase aarch64 system memory layout to 2TB. Bumping the possible page table range from 128G to 2TB to support larger systems. Fixes #298 Signed-off-by: Andrew Carp --- src/arch/aarch64/layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/aarch64/layout.rs b/src/arch/aarch64/layout.rs index 84c13cdb..b9606199 100644 --- a/src/arch/aarch64/layout.rs +++ b/src/arch/aarch64/layout.rs @@ -21,8 +21,8 @@ extern "Rust" { } pub mod map { - // Create page table for 128G is enough - pub const END: usize = 0x20_0000_0000; + // Create page table for 2T + pub const END: usize = 0x20_000_000_000; // Firmware region won't be used by this firmware, so merge it into mmio region // is harmless and better for management.