函数逻辑报告

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:11
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_apic_init_mappings

函数原型:void __init io_apic_init_mappings(void)

返回类型:void

参数:

2664  idx等于FIX_IO_APIC_BASE_0
2668  ioapic_res等于ioapic_setup_resources()
2670  如果Have we found an MP table
2671  ioapic_phys等于mpc_ioapic_addr(i)
2673  如果非ioapic_phys
2674  printk(r conditions "WARNING: bogus zero IO-APIC address found in MPTABLE, disabling IO/APIC support!\n")
2679  skip_ioapic_setup等于1
2680  转到:fake_ioapic_page
2683  否则
2685  fake_ioapic_page :
2687  ioapic_phys等于memblock_alloc(PAGE_SIZE, PAGE_SIZE)
2689  如果非ioapic_physpanic - 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_physThis is the IO-APIC register space as specified* by Intel docs:减1
2702  ioapic_res自加