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

Name:If 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

Proto:void lapic_shutdown(void)

Type:void

Parameter:Nothing

1294  If Not boot_cpu_has(Onboard APIC ) && Not apic_from_smp_config() Then Return
1297  local_irq_save(flags)
1300  If Not Local APIC was disabled by the BIOS and enabled by the kernel Then lear_local_APIC - shutdown the local APIC* This is called, when a CPU is disabled and before rebooting, so the state of* the local APIC has no dangling leftovers. Also used to cleanout any BIOS* leftovers during boot.
1302  Else disable_local_APIC - clear and disable the local APIC
1307  local_irq_restore(flags)
Caller
NameDescribe
native_machine_crash_shutdown