Struct kernel_hal::PhysFrame[][src]

#[repr(C)]pub struct PhysFrame { /* fields omitted */ }

Implementations

impl PhysFrame[src]

#[export_name = "hal_frame_alloc"]pub fn alloc() -> Option<Self>[src]

#[export_name = "hal_frame_alloc_contiguous"]pub fn alloc_contiguous_base(
    _size: usize,
    _align_log2: usize
) -> Option<PhysAddr>
[src]

pub fn alloc_contiguous(size: usize, align_log2: usize) -> Vec<Self>[src]

pub fn addr(&self) -> PhysAddr[src]

#[export_name = "hal_zero_frame_paddr"]pub fn zero_frame_addr() -> PhysAddr[src]

Trait Implementations

impl Drop for PhysFrame[src]

Auto Trait Implementations

impl RefUnwindSafe for PhysFrame

impl Send for PhysFrame

impl Sync for PhysFrame

impl Unpin for PhysFrame

impl UnwindSafe for PhysFrame

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.