riscv32: align stack to 4k boundary

master
occheung 2021-10-08 10:59:40 +08:00
parent 9748bb8af8
commit 17ba0a3429
1 changed files with 1 additions and 1 deletions

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