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

Name:Reroute an IRQ to a different pin.

Proto:static void __init replace_pin_at_irq_node(struct mp_chip_data *data, int node, int oldapic, int oldpin, int newapic, int newpin)

Type:void

Parameter:

TypeParameterName
struct mp_chip_data *data
intnode
intoldapic
intoldpin
intnewapic
intnewpin
425  for_each_irq_pin(entry, irq_2_pin)
426  If apic == oldapic && pin == oldpin Then
427  apic = newapic
428  pin = newpin
430  Return
435  add_pin_to_irq_node(data, node, newapic, newpin)
Caller
NameDescribe
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.