Struct os::batch::KernelStack
source · #[repr(align(4096))]struct KernelStack {
data: [u8; 8192],
}
Fields§
§data: [u8; 8192]
Implementations§
source§impl KernelStack
impl KernelStack
fn get_sp(&self) -> usize
pub fn push_context(&self, cx: TrapContext) -> &'static mut TrapContext
Auto Trait Implementations§
impl Freeze for KernelStack
impl RefUnwindSafe for KernelStack
impl Send for KernelStack
impl Sync for KernelStack
impl Unpin for KernelStack
impl UnwindSafe for KernelStack
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more