mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
remove custom ditherpunk flag from kernel
we can now do per-process stack size adjustment
This commit is contained in:
parent
1728bafd72
commit
7456158fa9
2 changed files with 0 additions and 4 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue