pub struct Apic { /* private fields */ }
Available on x86 or x86-64 only.
Expand description

Advanced Programmable Interrupt Controller

Implementations

Construct a new Apic.

Trait Implementations

Is a valid IRQ number.

Disable IRQ.

Enable IRQ.

Configure the specified interrupt vector. If it is invoked, it must be invoked prior to interrupt registration. Read more

Add an interrupt handler to an IRQ.

Remove the interrupt handler to an IRQ.

Method used for platform allocation of blocks of MSI and MSI-X compatible IRQ targets. Read more

Method used to free a block of MSI IRQs previously allocated by msi_alloc_block(). This does not unregister IRQ handlers. Read more

Register a handler function for a given msi_id within an msi_block_t. Passing a NULL handler will effectively unregister a handler for a given msi_id within the block. Read more

[for x86_64] enable apic timer

Register the device to delivery an IRQ.

Init irq for current cpu. Some IRQ hardware requires per-CPU initialization. Read more

Returns name of the driver.

Handles an interrupt.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Casts the value.

Casts the value.

Casts the value.

Casts the value.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.

Casts the value.

Casts the value.