函数逻辑报告 |
Source Code:arch\x86\kernel\acpi\cstate.c |
Create Date:2022-07-27 09:17:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:acpi_processor_ffh_cstate_probe_cpu
函数原型:static long acpi_processor_ffh_cstate_probe_cpu(void *_cx)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | _cx |
| 111 | cstate_type等于address右移MWAIT_SUBSTATE_SIZE位按位与MWAIT_CSTATE_MASK的值加1 |
| 116 | retval等于0 |
| 118 | 如果num_cstate_subtype恒等于0则 |
| 119 | 打印警告信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"ACPI MWAIT C-state 0x%x not supported by HW (0x%x)\n", address, edx_part) |
| 121 | retval等于负1 |
| 122 | 转到:out |
| 126 | 如果非ecx按位与CPUID5_ECX_EXTENSIONS_SUPPORTED的值或非ecx按位与CPUID5_ECX_INTERRUPT_BREAK的值则 |
| 132 | 如果非mwait_supported[cstate_type]则 |
| 133 | mwait_supported[cstate_type]等于1 |
| 134 | printk(debug-level messages "Monitor-Mwait will be used to enter C-%d state\n", type) |
| 141 | out : |
| 142 | 返回:retval |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |