pub struct X2APIC { /* private fields */ }
Expand description

Represents an x2APIC driver instance.

Implementations

Create a new x2APIC driver object for the local core.

Notes

The object needs to be initialized by calling attach() first which enables the x2APIC. There should be only one x2APIC object created per core.

Attach to APIC (enable x2APIC mode, initialize LINT0)

Detach from APIC (disable x2APIC and xAPIC mode).

Send an IPI to yourself.

Safety

Will interrupt core with vector.

Trait Implementations

Abstracts common interface of APIC (x2APIC, xAPIC) hardware devices.

Is a bootstrap processor?

Read local x2APIC ID.

In x2APIC mode, the 32-bit logical x2APIC ID, can be read from LDR.

Read APIC version.

Enable TSC timer

Set tsc deadline.

End Of Interrupt – Acknowledge interrupt delivery.

Send a INIT IPI to a core.

Deassert INIT IPI.

Send a STARTUP IPI to a core.

Send a generic IPI.

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

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.