pub struct X86_64Hal;Expand description
x86_64 HAL implementation
Trait Implementations§
Source§impl Hal for X86_64Hal
impl Hal for X86_64Hal
Source§fn setup_paging()
fn setup_paging()
Set up virtual memory paging.
Source§fn init_interrupt_controller()
fn init_interrupt_controller()
Initialize the interrupt controller.
Source§fn enable_interrupts()
fn enable_interrupts()
Enable interrupts.
Source§fn disable_interrupts()
fn disable_interrupts()
Disable interrupts.
Source§fn current_cpu_id() -> u32
fn current_cpu_id() -> u32
Get the current CPU ID (for SMP).
Source§fn kernel_text_start() -> u64
fn kernel_text_start() -> u64
Get the physical address of the kernel text section start.
Source§fn kernel_text_end() -> u64
fn kernel_text_end() -> u64
Get the physical address of the kernel text section end.
Auto Trait Implementations§
impl Freeze for X86_64Hal
impl RefUnwindSafe for X86_64Hal
impl Send for X86_64Hal
impl Sync for X86_64Hal
impl Unpin for X86_64Hal
impl UnsafeUnpin for X86_64Hal
impl UnwindSafe for X86_64Hal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more