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:29:38
Last Modify:2020-03-16 21:24:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_isa_irq_apic

Proto:static int __init find_isa_irq_apic(int irq, int type)

Type:int

Parameter:

TypeParameterName
intirq
inttype
741  When i < # of MP IRQ source entries cycle
742  lbus = srcbus
744  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from && irqtype == type && srcbusirq == irq Then Break
750  If i < # of MP IRQ source entries Then
753  for_each_ioapic(ioapic_idx)
754  If mpc_ioapic_id(ioapic_idx) == dstapic Then Return ioapic_idx
758  Return -1
Caller
NameDescribe
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.