函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:disable_local_APIC - clear and disable the local APIC

函数原型:void disable_local_APIC(void)

返回类型:void

参数:

1264  如果非x2apic_mode且非apic_phys则返回
1267  apic_soft_disable - Clears and software disables the local APIC on hotplug* Contrary to disable_local_APIC() this does not touch the enable bit in* MSR_IA32_APICBASE
1274  如果Local APIC was disabled by the BIOS and enabled by the kernel
1277  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_APICBASE, l, h)
1278  l与等于MSR_IA32_APICBASE_ENABLE的反
1279  wrmsr(MSR_IA32_APICBASE, l, h)
调用者
名称描述
native_stop_other_cpus
lapic_shutdownIf Linux enabled the LAPIC against the BIOS default disable it down before* re-entering the BIOS on shutdown. Otherwise the BIOS may get confused and* not power-off. Additionally clear all LVT entries before disable_local_APIC