You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
393 B
Rust
8 lines
393 B
Rust
pub const APP_BASE_ADDRESS: usize = 0x80400000; // 载入的app的起始的地址
|
|
pub const APP_SIZE_LIMIT: usize = 0x20000; // app的最大的二进制文件能够使用的大小
|
|
pub const MAX_APP_NUM: usize = 10; // 支持最大的用户应用数量
|
|
|
|
pub const USER_STACK_SIZE: usize = 4096 * 2; // 栈大小为8kb
|
|
pub const KERNEL_STACK_SIZE: usize = 4096 * 2;
|
|
|
|
pub use crate::board::*; |