Function report |
Source Code:kernel\power\hibernate.c |
Create Date:2022-07-28 09:59:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void power_down(void)
Type:void
Parameter:Nothing
645 | Case hibernation_mode == HIBERNATION_REBOOT |
648 | Case hibernation_mode == HIBERNATION_PLATFORM |
651 | Case hibernation_mode == HIBERNATION_SHUTDOWN |
652 | If pm_power_off Then kernel_power_off - power_off the system* Shutdown everything and perform a clean system power_off. |
654 | Break |
661 | pr_crit("Power down manually\n") |
662 | When 1 cycle |
663 | cpu_relax() |
Name | Describe |
---|---|
hibernate | hibernate - Carry out system hibernation, including saving the image. |
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 |