函数逻辑报告 |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-27 09:22:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:suspend
函数原型:static int suspend(int vetoable)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | vetoable |
1242 | dpm_suspend_end(PMSG_SUSPEND) |
1244 | 禁止中断() |
1245 | syscore_suspend() |
1247 | 开中断() |
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 | 禁止中断() |
1255 | reinit_timer() |
1257 | 如果err恒等于APM_NO_ERROR则err等于Error codes |
1261 | err等于如果err恒等于Error codes则0否则负EIO |
1263 | syscore_resume() |
1264 | 开中断() |
1266 | dpm_resume_start(PMSG_RESUME) |
1267 | dpm_resume_end(PMSG_RESUME) |
1269 | queue_event(APM_NORMAL_RESUME, NULL) |
1270 | 加自旋锁 |
1272 | suspend_wait等于0 |
1273 | suspend_result等于err |
1275 | 自旋锁解锁 |
1277 | 返回:err |
名称 | 描述 |
---|---|
check_events | |
do_ioctl | |
do_release |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |