函数逻辑报告 |
Source Code:kernel\power\hibernate.c |
Create Date:2022-07-27 10:59:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sume_target_kernel - Restore system state from a hibernation image
函数原型:static int resume_target_kernel(bool platform_mode)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
bool | platform_mode |
444 | error等于dpm_suspend_end(PMSG_QUIESCE) |
445 | 如果error则 |
455 | 如果error则转到:Enable_cpus |
458 | 禁止中断() |
459 | Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.等于SYSTEM_SUSPEND |
461 | error等于syscore_suspend() |
462 | 如果error则转到:Enable_irqs |
465 | save_processor_state() |
466 | error等于restore_highmem() |
467 | 如果非error则 |
486 | swsusp_free() |
487 | restore_processor_state() |
490 | syscore_resume() |
492 | Enable_irqs : |
493 | Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.等于SYSTEM_RUNNING |
494 | 开中断() |
496 | Enable_cpus : |
499 | Cleanup : |
504 | 返回:error |
名称 | 描述 |
---|---|
hibernation_restore | hibernation_restore - Quiesce devices and restore from a hibernation image |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |