函数逻辑报告

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

函数名称:find_isa_irq_apic

函数原型:static int __init find_isa_irq_apic(int irq, int type)

返回类型:int

参数:

类型参数名称
intirq
inttype
741 i小于# of MP IRQ source entries 循环
742  lbus等于srcbus
744  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting fromirqtype恒等于typesrcbusirq恒等于irq退出
750  如果i小于# of MP IRQ source entries
753  for_each_ioapic(ioapic_idx)
754  如果mpc_ioapic_id(ioapic_idx)恒等于dstapic则返回:ioapic_idx
758  返回:负1
调用者
名称描述
enable_IO_APIC
unlock_ExtINT_logicThis looks a bit hackish but it's about the only one way of sending* a few INTA cycles to 8259As and any associated glue logic
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.