From 7456158fa96c26d6b83fa2a55ea64ff1ce853b2d Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 16 Jun 2022 03:39:25 +0800 Subject: [PATCH] remove custom ditherpunk flag from kernel we can now do per-process stack size adjustment --- kernel/Cargo.toml | 1 - kernel/src/arch/riscv/process.rs | 3 --- 2 files changed, 4 deletions(-) diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index 769e14446..564b4b2b3 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -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] diff --git a/kernel/src/arch/riscv/process.rs b/kernel/src/arch/riscv/process.rs index fcaec55db..0cf6c7694 100644 --- a/kernel/src/arch/riscv/process.rs +++ b/kernel/src/arch/riscv/process.rs @@ -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;