Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:machine_real_restart

Proto:void __noreturn machine_real_restart(unsigned int type)

Type:void

Parameter:

TypeParameterName
unsigned inttype
99  local_irq_disable()
111  spin_lock( & rtc_lock)
112  CMOS_WRITE(0x00, 0x8f)
113  spin_unlock( & rtc_lock)
119  load_cr3(initial_page_table)
130  asm volatile
138  Mark a position in code as unreachable. This can be used to* suppress control flow warnings after asm blocks that transfer* control elsewhere.()
Caller
NameDescribe
native_machine_emergency_restartTo the best of our knowledge Windows compatible x86 hardware expects* the following on reboot:* 1) If the FADT has the ACPI reboot register flag set, try it* 2) If still alive, write to the keyboard controller* 3) If still alive, write to the ACPI reboot
apm_power_offapm_power_off - ask the BIOS to power off* Handle the power off sequence