函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-27 09:30:01
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:setup_IO_APIC

函数原型:void __init setup_IO_APIC(void)

返回类型:void

参数:

2361  如果skip_ioapic_setup或非nr_ioapics则返回
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.等于如果nr_legacy_irqs()则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的反否则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  IOAPIC ID重置()
2375  sync_Arb_IDs - synchronize APIC bus arbitration IDs
2376  setup_IO_APIC_irqs()
2377  init_IO_APIC_traps()
2378  如果nr_legacy_irqs()则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
调用者
名称描述
apic_bsp_setup