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:There are three cases when a VT switch on suspend/resume are required:* 1) no driver has indicated a requirement one way or another, so preserve* the old behavior* 2) console suspend is disabled, we want to see debug messages across* suspend/resume* 3)
Proto:static bool pm_vt_switch(void)
Type:bool
Parameter:Nothing
| 110 | bool ret = true | 
| 112 | mutex_lock( & vt_switch_mutex) | 
| 113 | If list_empty - tests whether a list is empty*@head: the list to test. Then Go to out | 
| 116 | If Not console_suspend_enabled Then Go to out | 
| 124 | ret = false | 
| 125 | out : | 
| 127 | Return ret | 
| Name | Describe | 
|---|---|
| pm_prepare_console | |
| pm_restore_console | 
| 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  |