Skip to content

Commit 526c7e7

Browse files
committed
config: use MEMORY_END from mod boards #136
1 parent e4fb5eb commit 526c7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os/src/boards/qemu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Constants used in rCore for qemu
22
33
pub const CLOCK_FREQ: usize = 12500000;
4-
pub const MEMORY_END: usize = 0x81000000;
4+
pub const MEMORY_END: usize = 0x8800_0000;
55

66
pub const MMIO: &[(usize, usize)] = &[
77
(0x0010_0000, 0x00_2000), // VIRT_TEST/RTC in virt machine

0 commit comments

Comments
 (0)