函数逻辑报告 |
Source Code:kernel\reboot.c |
Create Date:2022-07-27 10:33:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kernel_restart - reboot the system*@cmd: pointer to buffer containing command to execute for restart* or %NULL* Shutdown everything and perform a clean reboot.* This is not safe to call in interrupt context.
函数原型:void kernel_restart(char *cmd)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | cmd |
247 | migrate_to_reboot_cpu() |
248 | syscore_shutdown() |
254 | machine_restart(cmd) |
名称 | 描述 |
---|---|
SYSCALL_DEFINE4 | Reboot system call: for obvious reasons only root may call it,* and even root needs to set up some magic numbers in the registers* so that some mistake won't make this reboot the whole machine.* You can also set the meaning of the ctrl-alt-del-key here. |
deferred_cad | |
__orderly_reboot | |
power_down | power_down - Shut the machine down for hibernation.* Use the platform driver, if configured, to put the system into the sleep* state corresponding to hibernation, or try to power it off or reboot,* depending on the value of hibernation_mode. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |