Struct abyss::x86_64::interrupt::InterruptGateDescriptor
source · #[repr(C)]pub struct InterruptGateDescriptor<F> { /* private fields */ }
Expand description
X86_64’s IDT table.
Implementations§
source§impl<F> InterruptGateDescriptor<F>
impl<F> InterruptGateDescriptor<F>
source§impl InterruptGateDescriptor<Handler>
impl InterruptGateDescriptor<Handler>
sourcepub fn set(&mut self, ss: SegmentSelector, ty_: ExceptionType, f: Handler)
pub fn set(&mut self, ss: SegmentSelector, ty_: ExceptionType, f: Handler)
Set this gate entry.
source§impl InterruptGateDescriptor<HandlerWithSegmentSelectorErrorCode>
impl InterruptGateDescriptor<HandlerWithSegmentSelectorErrorCode>
sourcepub fn set(
&mut self,
ss: SegmentSelector,
ty_: ExceptionType,
f: HandlerWithSegmentSelectorErrorCode
)
pub fn set( &mut self, ss: SegmentSelector, ty_: ExceptionType, f: HandlerWithSegmentSelectorErrorCode )
Set this gate entry.
source§impl InterruptGateDescriptor<HandlerPageFault>
impl InterruptGateDescriptor<HandlerPageFault>
sourcepub fn set(&mut self, ss: SegmentSelector, ty_: ExceptionType, f: HandlerPageFault)
pub fn set(&mut self, ss: SegmentSelector, ty_: ExceptionType, f: HandlerPageFault)
Set this gate entry.
source§impl InterruptGateDescriptor<HandlerAlignCheck>
impl InterruptGateDescriptor<HandlerAlignCheck>
sourcepub fn set(
&mut self,
ss: SegmentSelector,
ty_: ExceptionType,
f: HandlerAlignCheck
)
pub fn set( &mut self, ss: SegmentSelector, ty_: ExceptionType, f: HandlerAlignCheck )
Set this gate entry.
source§impl InterruptGateDescriptor<AbortDoubleFault>
impl InterruptGateDescriptor<AbortDoubleFault>
sourcepub fn set(&mut self, ss: SegmentSelector, ty_: ExceptionType, f: AbortDoubleFault)
pub fn set(&mut self, ss: SegmentSelector, ty_: ExceptionType, f: AbortDoubleFault)
Set this gate entry.
source§impl InterruptGateDescriptor<AbortMachineCheck>
impl InterruptGateDescriptor<AbortMachineCheck>
sourcepub fn set(
&mut self,
ss: SegmentSelector,
ty_: ExceptionType,
f: AbortMachineCheck
)
pub fn set( &mut self, ss: SegmentSelector, ty_: ExceptionType, f: AbortMachineCheck )
Set this gate entry.
Trait Implementations§
source§impl<F: Clone> Clone for InterruptGateDescriptor<F>
impl<F: Clone> Clone for InterruptGateDescriptor<F>
source§fn clone(&self) -> InterruptGateDescriptor<F>
fn clone(&self) -> InterruptGateDescriptor<F>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<F: Copy> Copy for InterruptGateDescriptor<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for InterruptGateDescriptor<F>where F: RefUnwindSafe,
impl<F> Send for InterruptGateDescriptor<F>where F: Send,
impl<F> Sync for InterruptGateDescriptor<F>where F: Sync,
impl<F> Unpin for InterruptGateDescriptor<F>where F: Unpin,
impl<F> UnwindSafe for InterruptGateDescriptor<F>where F: UnwindSafe,
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,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more