pub enum Error {
GetStatusRegisters(Error),
SetBaseRegisters(Error),
SetFPURegisters(Error),
SetModelSpecificRegisters(Error),
SetModelSpecificRegistersCount,
SetStatusRegisters(Error),
WriteGDT,
WriteIDT,
}
Expand description
Errors thrown while setting up x86_64 registers.
Variants§
GetStatusRegisters(Error)
Failed to get SREGs for this CPU.
SetBaseRegisters(Error)
Failed to set base registers for this CPU.
SetFPURegisters(Error)
Failed to configure the FPU.
SetModelSpecificRegisters(Error)
Setting up MSRs failed.
SetModelSpecificRegistersCount
Failed to set all MSRs.
SetStatusRegisters(Error)
Failed to set SREGs for this CPU.
WriteGDT
Writing the GDT to RAM failed.
WriteIDT
Writing the IDT to RAM failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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