#[repr(align(16))]pub struct AlignedStack<const N: usize>([u8; N]);Expand description
An N-byte array aligned to a 16-byte boundary
Tuple Fields§
§0: [u8; N]Implementations§
Source§impl<const N: usize> AlignedStack<N>
impl<const N: usize> AlignedStack<N>
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Constructor; creates a new zeroed AlignedStack of size N
Sourcepub fn get_stack_top(&self) -> VirtAddr
pub fn get_stack_top(&self) -> VirtAddr
Returns the top of the stack as a VirtAddr