Skip to content

Commit 2786b21

Browse files
acarp-crusoerbradford
authored andcommitted
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 <[email protected]>
1 parent a329e06 commit 2786b21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/arch/aarch64/layout.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ extern "Rust" {
2121
}
2222

2323
pub mod map {
24-
// Create page table for 128G is enough
25-
pub const END: usize = 0x20_0000_0000;
24+
// Create page table for 2T
25+
pub const END: usize = 0x20_000_000_000;
2626

2727
// Firmware region won't be used by this firmware, so merge it into mmio region
2828
// is harmless and better for management.

0 commit comments

Comments
 (0)