Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\idt.c Create Date:2022-07-28 07:32:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dt_setup_apic_and_irq_gates - Setup APIC/SMP and normal interrupt gates

Proto:void __init idt_setup_apic_and_irq_gates(void)

Type:void

Parameter:Nothing

309  i = IDT vectors usable for external interrupt sources start at 0x20.* (0x80 is the syscall vector, 0x30-0x3f are for ISA)
312  idt_setup_from_table(Must be page-aligned because the real IDT is used in a fixmap. , The APIC and SMP idt entries, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(The APIC and SMP idt entries), true)
315  entry = irq_entries_start + 8 * (i - IDT vectors usable for external interrupt sources start at 0x20.* (0x80 is the syscall vector, 0x30-0x3f are for ISA))
316  set_intr_gate(i, entry)
Caller
NameDescribe
native_init_IRQ