File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11pub const CLOCK_FREQ : usize = 12500000 ;
2- // pub const MEMORY_END: usize = 0x801000000 ;
2+ pub const MEMORY_END : usize = 0x8800_0000 ;
33
44pub const MMIO : & [ ( usize , usize ) ] = & [
55 ( 0x0010_0000 , 0x00_2000 ) , // VIRT_TEST/RTC in virt machine
Original file line number Diff line number Diff line change 33pub const USER_STACK_SIZE : usize = 4096 * 2 ;
44pub const KERNEL_STACK_SIZE : usize = 4096 * 2 ;
55pub const KERNEL_HEAP_SIZE : usize = 0x20_0000 ;
6- pub const MEMORY_END : usize = 0x80800000 ;
76pub const PAGE_SIZE : usize = 0x1000 ;
87pub const PAGE_SIZE_BITS : usize = 0xc ;
98
109pub const TRAMPOLINE : usize = usize:: MAX - PAGE_SIZE + 1 ;
1110pub const TRAP_CONTEXT_BASE : usize = TRAMPOLINE - PAGE_SIZE ;
1211
13- pub use crate :: board:: { CLOCK_FREQ , MMIO } ;
12+ pub use crate :: board:: { CLOCK_FREQ , MEMORY_END , MMIO } ;
You can’t perform that action at this time.
0 commit comments