pub struct Kernel;
🔬This is a nightly-only experimental API. (
kernel_virtual_memory
)Trait Implementations§
Source§impl AddressSpaceTy for Kernel
impl AddressSpaceTy for Kernel
Source§type PageTable<'a> = impl DerefMut
type PageTable<'a> = impl DerefMut
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)Source§fn get_page_table(&self) -> Self::PageTable<'_>
fn get_page_table(&self) -> Self::PageTable<'_>
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)Source§fn translate_page(table: &mut Self::PageTable<'_>, page: Page) -> Option<Frame>
fn translate_page(table: &mut Self::PageTable<'_>, page: Page) -> Option<Frame>
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)Source§fn map_page(
table: &mut Self::PageTable<'_>,
page: Page,
frame: Frame,
reason: u16,
protection: Protection,
) -> Result<(), MapPageError>
fn map_page( table: &mut Self::PageTable<'_>, page: Page, frame: Frame, reason: u16, protection: Protection, ) -> Result<(), MapPageError>
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)Source§fn unmap_page(table: &mut Self::PageTable<'_>, page: Page) -> Result<(), ()>
fn unmap_page(table: &mut Self::PageTable<'_>, page: Page) -> Result<(), ()>
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)Source§fn allocate_contiguous(&self, len: usize) -> Result<Page, AllocError>
fn allocate_contiguous(&self, len: usize) -> Result<Page, AllocError>
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)Source§fn allocate_contiguous_at(
&self,
at: Page,
len: usize,
) -> Result<Page, AllocError>
fn allocate_contiguous_at( &self, at: Page, len: usize, ) -> Result<Page, AllocError>
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)Source§fn deallocate_contiguous(&self, base: Page, len: usize)
fn deallocate_contiguous(&self, base: Page, len: usize)
🔬This is a nightly-only experimental API. (
kernel_mmap_config
#24)impl Sealed for Kernel
Auto Trait Implementations§
impl Freeze for Kernel
impl RefUnwindSafe for Kernel
impl Send for Kernel
impl Sync for Kernel
impl Unpin for Kernel
impl UnwindSafe for Kernel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more