#[repr(C, align(16))]pub struct LocalApic {Show 24 fields
pub apic_id: ApicId,
pub apic_version: ApicVersion,
pub task_priority: PriorityRegister,
pub arb_priority: PriorityRegister,
pub processor_priority: PriorityRegister,
pub eoi: EndOfInterrupt,
pub logical_dst: LogicalDestination,
pub dst_format: DestinationFormat,
pub spurious_iv: SpuriousInterruptVector,
pub in_service: [BitfieldRegister; 8],
pub trigger_mode: [BitfieldRegister; 8],
pub interrupt_request: [BitfieldRegister; 8],
pub error_status: ErrorStatus,
pub interrupt_cmd_low: InterruptCmdLow,
pub interrupt_cmd_high: InterruptCmdHigh,
pub timer_lvt: TimerLVT,
pub thermal_lvt: ThermalLVT,
pub performance_lvt: PerfLVT,
pub lint0_lvt: LIntLVT,
pub lint1_lvt: LIntLVT,
pub error_lvt: ErrorLVT,
pub timer_icr: TimerCount,
pub timer_ccr: TimerCount,
pub timer_dcr: TimerDivConf,
/* private fields */
}
Expand description
Local APIC registers.
Fields§
§apic_id: ApicId
APIC ID Register.
apic_version: ApicVersion
ACIC Version Register.
task_priority: PriorityRegister
Task Priority Register (TPR).
arb_priority: PriorityRegister
Arbitration Priority Register (APR).
processor_priority: PriorityRegister
Processor Priority Register (PPR).
eoi: EndOfInterrupt
End of Interrupt Register (EOI).
logical_dst: LogicalDestination
Logical Destination Register.
dst_format: DestinationFormat
Destination Format Register.
spurious_iv: SpuriousInterruptVector
Spurious Interrupt Vector Register.
in_service: [BitfieldRegister; 8]
In-Service Register (ISR).
trigger_mode: [BitfieldRegister; 8]
Trigger Mode Register (TMR).
interrupt_request: [BitfieldRegister; 8]
Interrupt Request Register (IRR).
error_status: ErrorStatus
Error Status Register (ESR).
interrupt_cmd_low: InterruptCmdLow
Interrupt Command Register Low (bits 31:0).
interrupt_cmd_high: InterruptCmdHigh
Interrupt Command Register High (bits 63:32).
timer_lvt: TimerLVT
Timer Local Vector Table Entry.
thermal_lvt: ThermalLVT
Thermal Local Vector Table Entry.
performance_lvt: PerfLVT
Performance Counter Local Vector Table Entry.
lint0_lvt: LIntLVT
Local Interrupt 0 Vector Table Entry
lint1_lvt: LIntLVT
Local Interrupt 1 Vector Table Entry
error_lvt: ErrorLVT
Error Vector Table Entry.
timer_icr: TimerCount
Timer Initial Count Register.
timer_ccr: TimerCount
Timer Current Count Register.
timer_dcr: TimerDivConf
Timer Divide Configuration Register.