Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\crash.c Create Date:2022-07-28 08:37:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:native_machine_crash_shutdown

Proto:void native_machine_crash_shutdown(struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
155  local_irq_disable()
157  crash_smp_send_stop()
162  cpu_crash_vmclear_loaded_vmcss()
168  Disable VMX if it is supported and enabled on the current CPU
169  Makes sure SVM is disabled, if it is supported on the CPU
174  cpu_emergency_stop_pt()
181  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
182  restore_boot_irq_mode()
186  crash_save_cpu(regs, safe_smp_processor_id())
Caller
NameDescribe
kvm_crash_shutdownAfter the clock is registered, the host will keep writing to the* registered memory location. If the guest happens to shutdown, this memory* won't be valid. In cases like kexec, in which you install a new kernel, this