函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_intr_gate

函数原型:static void set_intr_gate(unsigned int n, const void *addr)

返回类型:void

参数:

类型参数名称
unsigned intn
const void *addr
234  BUG_ON(n > 0xFF)
236  memset( & data, 0, data的长度)
237  vector等于n
238  addr等于addr
239  segment等于Segment selector values corresponding to the above entries:
240  type等于GATE_INTERRUPT
241  p等于1
243  idt_setup_from_table(Must be page-aligned because the real IDT is used in a fixmap. , & data, 1, false)
调用者
名称描述
idt_setup_apic_and_irq_gatesdt_setup_apic_and_irq_gates - Setup APIC/SMP and normal interrupt gates
idt_setup_early_handlerdt_setup_early_handler - Initializes the idt table with early handlers
update_intr_gate
alloc_intr_gate