Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-28 08:27:15
Last Modify:2020-03-16 21:21:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_apic_mappings - initialize APIC mappings

Proto:void __init init_apic_mappings(void)

Type:void

Parameter:Nothing

2101  apic_check_deadline_errata()
2103  If x2apic_mode Then
2104  Processor that is doing the boot up = read_apic_id()
2105  Return
2109  If Not Have we found an MP table && Detect and enable local APICs on non-SMP boards.* Original code written by Keir Fraser.* On AMD64 we trust the BIOS - if it says no APIC it is likely* not correctly set up (usually the APIC timer won't work etc.) Then
2111  pr_info("APIC: disable apic facility\n")
2112  ght after this call apic become NOOP driven* so apic->write/read doesn't do anything
2113  Else
2114  apic_phys = mp_lapic_addr
2120  If Not acpi_lapic && Not Have we found an MP table Then register_lapic_address(apic_phys)
2128  new_apicid = read_apic_id()
2129  If Processor that is doing the boot up != new_apicid Then
2130  Processor that is doing the boot up = new_apicid
2138  boot_cpu_apic_version = GET_APIC_VERSION(apic_read(APIC_LVR))
Caller
NameDescribe
setup_archsetup_arch - architecture-specific boot-time initializations* Note: On x86_64, fixmaps are ready for use even before this is called.