Function report |
Source Code:kernel\reboot.c |
Create Date:2022-07-28 09:32:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kernel_halt - halt the system* Shutdown everything and perform a clean system halt.
Proto:void kernel_halt(void)
Type:void
Parameter:Nothing
274 | migrate_to_reboot_cpu() |
275 | syscore_shutdown() |
277 | kmsg_dump(KMSG_DUMP_HALT) |
278 | machine_halt() |
Name | Describe |
---|---|
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. |
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |