函数逻辑报告 | 
Source Code:kernel\power\hibernate.c | 
Create Date:2022-07-27 10:59:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:hibernation_platform_enter - Power off the system using the platform driver.
函数原型:int hibernation_platform_enter(void)
返回类型:int
参数:无
| 546 | 如果非hibernation_ops则返回:负ENOSYS | 
| 554 | error等于begin(PMSG_HIBERNATE) | 
| 558 | entering_platform_hibernation = true | 
| 561 | 如果error则 | 
| 564 | 转到:Resume_devices | 
| 568 | 如果error则转到:Resume_devices | 
| 572 | 如果error则转到:Platform_finish | 
| 576 | 如果error则转到:Enable_cpus | 
| 579 | 禁止中断() | 
| 580 | Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.等于SYSTEM_SUSPEND | 
| 581 | syscore_suspend() | 
| 582 | 如果pm_wakeup_pending()则 | 
| 587 | enter() | 
| 589 | 当1循环 | 
| 591 | Power_up : | 
| 592 | syscore_resume() | 
| 593 | Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.等于SYSTEM_RUNNING | 
| 594 | 开中断() | 
| 596 | Enable_cpus : | 
| 599 | Platform_finish : | 
| 600 | finish() | 
| 604 | Resume_devices : | 
| 605 | entering_platform_hibernation = false | 
| 607 | resume_console() | 
| 609 | Close : | 
| 610 | end() | 
| 612 | 返回:error | 
| 名称 | 描述 | 
|---|---|
| power_down | power_down - Shut the machine down for hibernation.* Use the platform driver, if configured, to put the system into the sleep* state corresponding to hibernation, or try to power it off or reboot,* depending on the value of hibernation_mode. | 
| snapshot_ioctl | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |