函数逻辑报告

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:09
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Find the IRQ entry number of a certain pin.

函数原型:static int find_irq_entry(int ioapic_idx, int pin, int type)

返回类型:int

参数:

类型参数名称
intioapic_idx
intpin
inttype
708 i小于# of MP IRQ source entries 循环如果irqtype恒等于typedstapic恒等于mpc_ioapic_id(ioapic_idx)或dstapic恒等于MP_APIC_ALL的值且dstirq恒等于pin
713  返回:i
715  返回:负1
调用者
名称描述
mp_map_gsi_to_irq
setup_IO_APIC_irqs
check_timerThis code may look a bit paranoid, but it's supposed to cooperate with* a wide range of boards and BIOS bugs. Fortunately only the timer IRQ* is so screwy. Thanks to Brian Perkins for testing/hacking this beast* fanatically on his truly buggy board.
acpi_get_override_irq