Function report |
Source Code:arch\x86\kernel\acpi\cstate.c |
Create Date:2022-07-28 08:17:53 |
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
Proto:int acpi_processor_ffh_cstate_probe(unsigned int cpu, struct acpi_processor_cx *cx, struct acpi_power_register *reg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu | |
struct acpi_processor_cx * | cx | |
struct acpi_power_register * | reg |
152 | If Not per CPU ptr || Maximum supported CPUID level, -1=no CPUID: < CPUID_MWAIT_LEAF Then Return -1 |
155 | If bit_offset != NATIVE_CSTATE_BEYOND_HALT Then Return -1 |
158 | percpu_entry = per_cpu_ptr(per CPU ptr , cpu) |
159 | eax = 0 |
160 | ecx = 0 |
165 | If retval == 0 Then |
168 | ecx = MWAIT_ECX_INTERRUPT_BREAK |
176 | If CPU vendor == X86_VENDOR_INTEL && Not (access_size & 0x2) Then bm_sts_skip = 1 |
179 | 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 |