Skip to content

Commit 46f37c2

Browse files
committed
TBS: layout
Signed-off-by: Babis Chalios <[email protected]>
1 parent e53c7f5 commit 46f37c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vmm/src/arch/aarch64/layout.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ pub const MMIO32_MEM_SIZE: u64 = DRAM_MEM_START - MMIO32_MEM_START;
9191
// We reserve 768 MiB for devices at the beginning of the MMIO region. This includes space both for
9292
// pure MMIO and PCIe devices.
9393
/// Beginning of memory region for device MMIO 32-bit accesses
94-
pub const MEM_32BIT_DEVICES_START: u64 = MMIO32_MEM_START;
94+
/// The first 2 pages of 32-bit MMIO memory are reserved for RTC and serial devices
95+
/// which are MMIO devices in ARM64.
96+
pub const MEM_32BIT_DEVICES_START: u64 = MMIO32_MEM_START + 2 * 4096;
9597
/// Size of memory region for device MMIO 32-bit accesses
9698
pub const MEM_32BIT_DEVICES_SIZE: u64 = 768 << 20;
9799

0 commit comments

Comments
 (0)