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

Name:io_apic_init_mappings

Proto:void __init io_apic_init_mappings(void)

Type:void

Parameter:Nothing

2664  idx = FIX_IO_APIC_BASE_0
2668  ioapic_res = ioapic_setup_resources()
2670  If Have we found an MP table Then
2671  ioapic_phys = mpc_ioapic_addr(i)
2673  If Not ioapic_phys Then
2674  printk(r conditions "WARNING: bogus zero IO-APIC address found in MPTABLE, disabling IO/APIC support!\n")
2679  skip_ioapic_setup = 1
2680  Go to fake_ioapic_page
2683  Else
2685  fake_ioapic_page :
2687  ioapic_phys = memblock_alloc(PAGE_SIZE, PAGE_SIZE)
2689  If Not ioapic_phys Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
2692  ioapic_phys = __pa(ioapic_phys)
2694  Some hardware wants to get fixmapped without caching.(idx, ioapic_phys)
2695  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, "mapped IOAPIC to %08lx (%08lx)\n", __fix_to_virt(idx) + (ioapic_phys & ~PAGE_MASK), ioapic_phys)
2698  idx++
2700  start = ioapic_phys
2701  end = ioapic_phys + This is the IO-APIC register space as specified* by Intel docs: - 1
2702  ioapic_res++