Function report |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-28 07:55:06 |
| Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_cpu_vendor
Proto:static void get_cpu_vendor(struct cpuinfo_x86 *c)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpuinfo_x86 * | c |
| 776 | v = x86_vendor_id |
| 779 | When i < X86_VENDOR_NUM cycle |
| 783 | If Not strcmp(v, some have two possibilities for cpuid string [0]) || some have two possibilities for cpuid string [1] && Not strcmp(v, some have two possibilities for cpuid string [1]) Then |
| 794 | pr_err_once("CPU: vendor_id '%s' unknown, using generic init.\nCPU: Your system may be unstable.\n", v) |
| 796 | CPU vendor = X86_VENDOR_UNKNOWN |
| 797 | this_cpu = default_cpu |
| Name | Describe |
|---|---|
| identify_cpu_without_cpuid | |
| early_identify_cpu | Do minimum CPU detection early.* Fields really needed: vendor, cpuid_level, family, model, mask,* cache alignment.* The others are not touched to avoid unwanted side effects.* WARNING: this function is only called on the boot CPU. Don't add code |
| generic_identify |
| 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 |