create_desktop in kernel can run correctly

This commit is contained in:
Yu Chen 2022-06-20 22:41:20 +08:00
parent 5b0c372507
commit c348cbdbfa
5 changed files with 38 additions and 23 deletions

View file

@ -2,8 +2,8 @@
pub const USER_STACK_SIZE: usize = 4096 * 2;
pub const KERNEL_STACK_SIZE: usize = 4096 * 2;
pub const KERNEL_HEAP_SIZE: usize = 0x20_0000;
pub const MEMORY_END: usize = 0x80800000;
pub const KERNEL_HEAP_SIZE: usize = 0x100_0000;
pub const MEMORY_END: usize = 0x88000000;
pub const PAGE_SIZE: usize = 0x1000;
pub const PAGE_SIZE_BITS: usize = 0xc;