From 922671ef0775fad1257328884a2bd92764b5d21a Mon Sep 17 00:00:00 2001 From: Chasing1020 Date: Thu, 20 Oct 2022 20:37:22 +0800 Subject: [PATCH] fix: make kernel stack size identical to the config of os3-ref --- os3/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os3/src/config.rs b/os3/src/config.rs index 70cb487..cf21900 100644 --- a/os3/src/config.rs +++ b/os3/src/config.rs @@ -1,5 +1,5 @@ -pub const USER_STACK_SIZE: usize = 8192; -pub const KERNEL_STACK_SIZE: usize = 8192 * 20; +pub const USER_STACK_SIZE: usize = 4096; +pub const KERNEL_STACK_SIZE: usize = 4096 * 20; pub const KERNEL_HEAP_SIZE: usize = 0x20000; pub const MAX_APP_NUM: usize = 16; pub const APP_BASE_ADDRESS: usize = 0x80400000;