Function report |
Source Code:arch\x86\kernel\cpu\intel_pconfig.c |
Create Date:2022-07-28 07:57:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:intel_pconfig_init
Proto:static int __init intel_pconfig_init(void)
Type:int
Parameter:Nothing
| 44 | If Not boot_cpu_has(Intel PCONFIG ) Then Return 0 |
| 58 | cpuid_count(PCONFIG_CPUID, subleaf, & eax, & ebx, & ecx, & edx) |
| 62 | Case & == PCONFIG_CPUID_SUBLEAF_INVALID |
| 64 | Go to out |
| 65 | Case & == PCONFIG_CPUID_SUBLEAF_TARGETID |
| 67 | If ebx < 64 Then Bitmask of supported targets |= 1ULL << ebx |
| 69 | If ecx < 64 Then Bitmask of supported targets |= 1ULL << ecx |
| 71 | If edx < 64 Then Bitmask of supported targets |= 1ULL << edx |
| 73 | Break |
| 74 | Default |
| 76 | Break |
| 79 | out : |
| 80 | Return 0 |
| 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 |