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

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

An Interrupt Descriptor Table entry.

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

Methods

impl IdtEntry<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 IdtEntry<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 IdtEntry<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: Debug> Debug for IdtEntry<F>
[src]

Formats the value using the given formatter.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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