remove custom ditherpunk flag from kernel

we can now do per-process stack size adjustment
This commit is contained in:
bunnie 2022-06-16 03:39:25 +08:00
parent 1728bafd72
commit 7456158fa9
2 changed files with 0 additions and 4 deletions

View file

@ -36,7 +36,6 @@ print-panics = []
report-memory = ["stats_alloc"]
wrap-print = []
# default = ["print-panics", "debug-print", "wrap-print"]
ditherpunk = []
default = ["print-panics", "gdbserver"]
[target.'cfg(any(windows, unix))'.dependencies]

View file

@ -13,10 +13,7 @@ use crate::services::ProcessInner;
use xous_kernel::{ProcessInit, ProcessStartup, ThreadInit, PID, TID};
// use crate::args::KernelArguments;
#[cfg(not(feature="ditherpunk"))]
pub const DEFAULT_STACK_SIZE: usize = 128 * 1024;
#[cfg(feature="ditherpunk")] // image processing needs a lot more stack space to run...
pub const DEFAULT_STACK_SIZE: usize = 1024 * 1024;
pub const MAX_PROCESS_COUNT: usize = 64;
// pub use crate::arch::mem::DEFAULT_STACK_TOP;