函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void lapic_shutdown(void)

返回类型:void

参数:

1294  如果非boot_cpu_has(Onboard APIC )且非apic_from_smp_config()则返回
1297  local_irq_save(flags)
1300  如果非Local APIC was disabled by the BIOS and enabled by the kernel 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  否则disable_local_APIC - clear and disable the local APIC
1307  local_irq_restore(flags)
调用者
名称描述
native_machine_crash_shutdown