Struct x86_64::structures::idt::Entry[][src]

#[repr(C)]
pub struct Entry<F> { /* fields omitted */ }

An Interrupt Descriptor Table entry.

The generic parameter can either be HandlerFunc or HandlerFuncWithErrCode, depending on the interrupt vector.

Methods

impl Entry<HandlerFunc>
[src]

Set the handler function for the IDT entry and sets the present bit.

For the code selector field, this function uses the code segment selector currently active in the CPU.

The function returns a mutable reference to the entry's options that allows further customization.

impl Entry<HandlerFuncWithErrCode>
[src]

Set the handler function for the IDT entry and sets the present bit.

For the code selector field, this function uses the code segment selector currently active in the CPU.

The function returns a mutable reference to the entry's options that allows further customization.

impl Entry<PageFaultHandlerFunc>
[src]

Set the handler function for the IDT entry and sets the present bit.

For the code selector field, this function uses the code segment selector currently active in the CPU.

The function returns a mutable reference to the entry's options that allows further customization.

Trait Implementations

impl<F: Clone> Clone for Entry<F>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for Entry<F>
[src]

Auto Trait Implementations

impl<F> Send for Entry<F> where
    F: Send

impl<F> Sync for Entry<F> where
    F: Sync