Bump rustsbi to 0.1.1 && make config of qemu/k210 different
This commit is contained in:
parent
58897f477e
commit
982b369a51
6 changed files with 68 additions and 2 deletions
|
@ -1,7 +1,13 @@
|
|||
pub const USER_STACK_SIZE: usize = 4096 * 2;
|
||||
pub const KERNEL_STACK_SIZE: usize = 4096 * 2;
|
||||
pub const KERNEL_HEAP_SIZE: usize = 0x20_0000;
|
||||
|
||||
#[cfg(feature = "board_k210")]
|
||||
pub const MEMORY_END: usize = 0x80600000;
|
||||
|
||||
#[cfg(feature = "board_qemu")]
|
||||
pub const MEMORY_END: usize = 0x80800000;
|
||||
|
||||
pub const PAGE_SIZE: usize = 0x1000;
|
||||
pub const PAGE_SIZE_BITS: usize = 0xc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue