Skip to content

Commit

Permalink
aarch64/layout: Increase aarch64 system memory layout to 2TB.
Browse files Browse the repository at this point in the history
Bumping the possible page table range from 128G to 2TB
to support larger systems.

Fixes cloud-hypervisor#298

Signed-off-by: Andrew Carp <[email protected]>
  • Loading branch information
acarp-crusoe committed Nov 27, 2024
1 parent a329e06 commit f015258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arch/aarch64/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f015258

Please sign in to comment.