Struct kernel_hal::PhysFrame [−][src]
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]
_size: usize,
_align_log2: usize
) -> Option<PhysAddr>
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,