Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vector_configure_legacy

Proto:static bool vector_configure_legacy(unsigned int virq, struct irq_data *irqd, struct apic_chip_data *apicd)

Type:bool

Parameter:

TypeParameterName
unsigned intvirq
struct irq_data *irqd
struct apic_chip_data *apicd
504  bool realloc = false
506  vector = Vectors 0x30-0x3f are used for ISA interrupts.* round up to the next 16-vector boundary(virq)
507  cpu = 0
509  raw_spin_lock_irqsave( & vector_lock, flags)
514  If irqd_is_activated(irqd) Then
515  trace_vector_setup(virq, true, 0)
516  apic_update_irq_cfg(irqd, vector, cpu)
517  Else
519  can_reserve = true
520  irqd_set_can_reserve(irqd)
521  clear_irq_vector(irqd)
522  realloc = true
524  raw_spin_unlock_irqrestore( & vector_lock, flags)
525  Return realloc
Caller
NameDescribe
x86_vector_alloc_irqs