riscv32: align stack to 4k boundary

This commit is contained in:
occheung 2021-10-08 10:59:40 +08:00
parent 9748bb8af8
commit 17ba0a3429

View File

@ -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)]