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

Name:setup_IO_APIC

Proto:void __init setup_IO_APIC(void)

Type:void

Parameter:Nothing

2361  If skip_ioapic_setup || Not nr_ioapics Then Return
2364  Not all IRQs can be routed through the IO-APIC, eg. on certain (older)* boards the timer interrupt is not really connected to any IO-APIC pin,* it's fed to the master 8259A's IR0 line only. = If nr_legacy_irqs() Then ~Traditionally ISA IRQ2 is the cascade IRQ, and is not available* to devices. However there may be an I/O APIC pin available for* this interrupt regardless. The pin may be left unconnected, but* typically it will be reused as an ExtINT cascade interrupt for Else ~0UL
2366  Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_VERBOSE, "ENABLING IO-APIC IRQs\n")
2367  for_each_ioapic(ioapic)
2368  BUG_ON(mp_irqdomain_create(ioapic))
2373  setup_ioapic_ids()
2375  sync_Arb_IDs - synchronize APIC bus arbitration IDs
2376  setup_IO_APIC_irqs()
2377  init_IO_APIC_traps()
2378  If nr_legacy_irqs() Then This 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.
2381  ioapic_initialized = 1
Caller
NameDescribe
apic_bsp_setup