1
0
Fork 0

riscv32: align stack to 4k boundary

This commit is contained in:
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 core::mem;
use stack::Stack; use stack::Stack;
pub const STACK_ALIGNMENT: usize = 16; pub const STACK_ALIGNMENT: usize = 4096;
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]
#[repr(transparent)] #[repr(transparent)]