函数逻辑报告 |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-27 09:22:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_events
函数原型:static void check_events(void)
返回类型:void
参数:无
1327 | 如果debug则 |
1328 | 如果event小于等于NR_APM_EVENT_NAME则printk(debug-level messages "apm: received %s notify\n", APM event names taken from the APM 1.2 specification. These are* the message codes that the BIOS uses to tell us about events[event - 1]) |
1331 | 否则printk(debug-level messages "apm: received unknown event 0x%02x\n", event) |
1341 | 当:event恒等于APM_USER_STANDBY |
1347 | 当:event恒等于APM_USER_SUSPEND |
1353 | 当:event恒等于APM_SYS_SUSPEND |
1354 | 如果ignore_bounce则 |
1355 | 如果connection_version大于0x100则set_system_power_state - set system wide power state*@state: which state to enter* Transition the entire system into a new APM power state. |
1357 | 退出 |
1367 | 如果ignore_sys_suspend则返回 |
1369 | ignore_sys_suspend等于1 |
1370 | queue_event(event, NULL) |
1371 | 如果suspends_pending小于等于0则suspend(1) |
1373 | 退出 |
1375 | 当:event恒等于APM_NORMAL_RESUME |
1376 | 当:event恒等于APM_CRITICAL_RESUME |
1377 | 当:event恒等于APM_STANDBY_RESUME |
1378 | ignore_sys_suspend等于0 |
1379 | last_resume等于jiffies |
1380 | ignore_bounce等于1 |
1381 | 如果event不等于APM_NORMAL_RESUME或ignore_normal_resume恒等于0则 |
1383 | dpm_resume_end(PMSG_RESUME) |
1384 | queue_event(event, NULL) |
1386 | ignore_normal_resume等于0 |
1387 | 退出 |
1389 | 当:event恒等于APM_CAPABILITY_CHANGE |
1390 | 当:event恒等于APM_LOW_BATTERY |
1391 | 当:event恒等于APM_POWER_STATUS_CHANGE |
1392 | queue_event(event, NULL) |
1394 | 退出 |
1396 | 当:event恒等于APM_UPDATE_TIME |
1397 | 退出 |
1399 | 当:event恒等于APM_CRITICAL_SUSPEND |
名称 | 描述 |
---|---|
apm_event_handler |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |