函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\idt.c Create Date:2022-07-27 08:31:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:idt_setup_from_table

函数原型:static void idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys)

返回类型:void

参数:

类型参数名称
gate_desc *idt
const struct idt_data *t
intsize
boolsys
222 size大于0循环
223  idt_init_desc( & desc, t)
224  write_idt_entry(idt, vector, & desc)
225  如果sysset_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
调用者
名称描述
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