Switch ok with debug mode apps, implement sys_exit correctly later.
This commit is contained in:
parent
e552f3cfca
commit
91043b08cd
16 changed files with 244 additions and 147 deletions
5
os/src/config.rs
Normal file
5
os/src/config.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
pub const USER_STACK_SIZE: usize = 4096 * 2;
|
||||
pub const KERNEL_STACK_SIZE: usize = 4096 * 2;
|
||||
pub const MAX_APP_NUM: usize = 4;
|
||||
pub const APP_BASE_ADDRESS: usize = 0x80100000;
|
||||
pub const APP_SIZE_LIMIT: usize = 0x20000;
|
Loading…
Add table
Add a link
Reference in a new issue