Frame Allocator OK.

This commit is contained in:
Yifan Wu 2020-12-03 10:40:30 +08:00
parent 528d99258a
commit e37e5708e4
9 changed files with 205 additions and 158 deletions

View file

@ -4,6 +4,9 @@ pub const MAX_APP_NUM: usize = 4;
pub const APP_BASE_ADDRESS: usize = 0x80100000;
pub const APP_SIZE_LIMIT: usize = 0x20000;
pub const KERNEL_HEAP_SIZE: usize = 0x30_0000;
pub const MEMORY_END: usize = 0x80800000;
pub const PAGE_SIZE: usize = 0x1000;
pub const PAGE_SIZE_BITS: usize = 0xc;
#[cfg(feature = "board_k210")]
pub const CPU_FREQ: usize = 10000000;