We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53c7f5 commit 46f37c2Copy full SHA for 46f37c2
src/vmm/src/arch/aarch64/layout.rs
@@ -91,7 +91,9 @@ pub const MMIO32_MEM_SIZE: u64 = DRAM_MEM_START - MMIO32_MEM_START;
91
// We reserve 768 MiB for devices at the beginning of the MMIO region. This includes space both for
92
// pure MMIO and PCIe devices.
93
/// Beginning of memory region for device MMIO 32-bit accesses
94
-pub const MEM_32BIT_DEVICES_START: u64 = MMIO32_MEM_START;
+/// 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;
97
/// Size of memory region for device MMIO 32-bit accesses
98
pub const MEM_32BIT_DEVICES_SIZE: u64 = 768 << 20;
99
0 commit comments