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:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:idt_setup_from_table

Proto:static void idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys)

Type:void

Parameter:

TypeParameterName
gate_desc *idt
const struct idt_data *t
intsize
boolsys
222  When size > 0 cycle
223  idt_init_desc( & desc, t)
224  write_idt_entry(idt, vector, & desc)
225  If sys Then set_bit - Atomically set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* This is a relaxed atomic operation (no implied memory barriers).* Note that @nr may be almost arbitrarily large; this function is not
Caller
NameDescribe
set_intr_gate
idt_setup_early_trapsdt_setup_early_traps - Initialize the idt table with early traps* On X8664 these traps do not use interrupt stacks as they can't work* before cpu_init() is invoked and sets up TSS. The IST variants are* installed after that.
idt_setup_trapsdt_setup_traps - Initialize the idt table with default traps
idt_setup_early_pfdt_setup_early_pf - Initialize the idt table with early pagefault handler* On X8664 this does not use interrupt stacks as they can't work before* cpu_init() is invoked and sets up TSS
idt_setup_ist_trapsdt_setup_ist_traps - Initialize the idt table with traps using IST
idt_setup_debugidt_trapsdt_setup_debugidt_traps - Initialize the debug idt table with debug traps
idt_setup_apic_and_irq_gatesdt_setup_apic_and_irq_gates - Setup APIC/SMP and normal interrupt gates