Function report | 
Source Code:arch\x86\kernel\acpi\cstate.c | 
Create Date:2022-07-28 08:17:51 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:acpi_processor_ffh_cstate_probe_cpu
Proto:static long acpi_processor_ffh_cstate_probe_cpu(void *_cx)
Type:long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| void * | _cx | 
| 111 | cstate_type = ( address >> MWAIT_SUBSTATE_SIZE & MWAIT_CSTATE_MASK) + 1 | 
| 113 | edx_part = edx >> cstate_type * MWAIT_SUBSTATE_SIZE | 
| 116 | retval = 0 | 
| 118 | If num_cstate_subtype == 0 Then | 
| 119 | pr_warn(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 | Go to out | 
| 126 | If Not (ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || Not (ecx & CPUID5_ECX_INTERRUPT_BREAK) Then | 
| 132 | If Not mwait_supported[cstate_type] Then | 
| 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 | Return retval | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |