1 2 3 4 5 6 7 8
//! Constants used in rCore for qemu pub const CLOCK_FREQ: usize = 12500000; pub const MEMORY_END: usize = 0x8800_0000; pub const MMIO: &[(usize, usize)] = &[ (0x0010_0000, 0x00_2000), // VIRT_TEST/RTC in virt machine ];