Function report | 
Source Code:kernel\power\console.c | 
Create Date:2022-07-28 09:57:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:pm_prepare_console
Proto:void pm_prepare_console(void)
Type:void
Parameter:Nothing
| 135 | orig_fgconsole = vt_move_to_console(SUSPEND_CONSOLE, 1) | 
| 136 | If orig_fgconsole < 0 Then Return | 
| 140 | Return | 
| Name | Describe | 
|---|---|
| suspend_prepare | suspend_prepare - Prepare for entering system sleep state.* Common code run for every system sleep state that can be entered (except for* hibernation). Run suspend notifiers, allocate the "suspend" console and* freeze processes. | 
| hibernation_restore | hibernation_restore - Quiesce devices and restore from a hibernation image | 
| hibernate | hibernate - Carry out system hibernation, including saving the image. | 
| software_resume | software_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation 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  |