函数逻辑报告 |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-27 09:22:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:apm_get_power_status - get current power state*@status: returned status*@bat: battery info*@life: estimated life* Obtain the current power status from the APM BIOS. We return a* status which gives the rough battery status, and current power* source
函数原型:static int apm_get_power_status(u_short *status, u_short *bat, u_short *life)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
u_short * | status | |
u_short * | bat | |
u_short * | life |
1036 | func等于APM_FUNC_GET_STATUS |
1037 | In and out 等于APM_DEVICE_ALL |
1038 | ecx等于0 |
1040 | 如果get_power_status_broken则返回:APM_32_UNSUPPORTED |
1043 | 如果非 Error: -ENOMEM, or bits 8-15 of eax 则返回:APM_NO_ERROR |
1045 | 返回: Error: -ENOMEM, or bits 8-15 of eax |
1047 | status等于 In and out |
1049 | 如果get_power_status_swabinminutes则 |
1054 | 返回:Error codes |
名称 | 描述 |
---|---|
proc_apm_show | |
apm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |