Function report |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-28 08:22:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:suspend
Proto:static int suspend(int vetoable)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | vetoable |
1242 | dpm_suspend_end(PMSG_SUSPEND) |
1244 | local_irq_disable() |
1245 | syscore_suspend() |
1249 | save_processor_state() |
1250 | err = set_system_power_state - set system wide power state*@state: which state to enter* Transition the entire system into a new APM power state. |
1251 | ignore_normal_resume = 1 |
1252 | restore_processor_state() |
1254 | local_irq_disable() |
1255 | reinit_timer() |
1257 | If err == APM_NO_ERROR Then err = Error codes |
1261 | err = If err == Error codes Then 0 Else -EIO |
1263 | syscore_resume() |
1266 | dpm_resume_start(PMSG_RESUME) |
1267 | dpm_resume_end(PMSG_RESUME) |
1269 | queue_event(APM_NORMAL_RESUME, NULL) |
1270 | spin_lock( & user_list_lock) |
1272 | suspend_wait = 0 |
1273 | suspend_result = err |
1275 | spin_unlock( & user_list_lock) |
1277 | Return err |
Name | Describe |
---|---|
check_events | |
do_ioctl | |
do_release |
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 |