函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-27 09:29:43
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static unsigned int startup_ioapic_irq(struct irq_data *data)

返回类型:unsigned int

参数:

类型参数名称
struct irq_data *data
1687  was_pending等于0, irq等于中断号
1690  raw_spin_lock_irqsave( & ioapic_lock, flags)
1691  如果irq小于nr_legacy_irqs()则
1692  mask(irq)
1693  如果irq_pending(irq)则was_pending等于1
1696  __unmask_ioapic(和中断控制器相关的私有数据)
1697  raw_spin_unlock_irqrestore( & ioapic_lock, flags)
1699  返回:was_pending