函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\reboot.c Create Date:2022-07-27 09:18:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:machine_real_restart

函数原型:void __noreturn machine_real_restart(unsigned int type)

返回类型:void

参数:

类型参数名称
unsigned inttype
99  禁止中断()
111  加自旋锁
112  CMOS_WRITE(0x00, 0x8f)
113  自旋锁解锁
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.()
调用者
名称描述
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