diff --git a/src/arch/riscv32.rs b/src/arch/riscv32.rs index 54e5a01..16303be 100644 --- a/src/arch/riscv32.rs +++ b/src/arch/riscv32.rs @@ -44,7 +44,7 @@ use core::mem; use stack::Stack; -pub const STACK_ALIGNMENT: usize = 16; +pub const STACK_ALIGNMENT: usize = 4096; #[derive(Debug, Clone, Copy)] #[repr(transparent)]