pub struct StackHunk<Traits> { /* private fields */ }
Expand description
Hunk
for a task stack.
Implementations§
source§impl<Traits: KernelTraits> StackHunk<Traits>
impl<Traits: KernelTraits> StackHunk<Traits>
sourcepub fn as_ptr(&self) -> *mut [u8]
pub fn as_ptr(&self) -> *mut [u8]
Get a raw pointer to the hunk’s contents.
This is mainly used by PortThreading::initialize_task_state
to
calculate the initial stack pointer.