Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-28 08:30:12
Last Modify:2020-03-16 21:24:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Starting up a edge-triggered IO-APIC interrupt is* nasty - we need to make sure that we get the edge.* If it is already asserted for some reason, we need* return 1 to indicate that is was pending.* This is not complete - we should be able to fake

Proto:static unsigned int startup_ioapic_irq(struct irq_data *data)

Type:unsigned int

Parameter:

TypeParameterName
struct irq_data *data
1687  was_pending = 0 , irq = irq
1690  raw_spin_lock_irqsave( & ioapic_lock, flags)
1691  If irq < nr_legacy_irqs() Then
1692  mask(irq)
1693  If irq_pending(irq) Then was_pending = 1
1696  __unmask_ioapic(chip_data)
1697  raw_spin_unlock_irqrestore( & ioapic_lock, flags)
1699  Return was_pending