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

Name:set_intr_gate

Proto:static void set_intr_gate(unsigned int n, const void *addr)

Type:void

Parameter:

TypeParameterName
unsigned intn
const void *addr
234  BUG_ON(n > 0xFF)
236  memset( & data, 0, size of 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)
Caller
NameDescribe
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