Function report |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-28 07:55:15 |
| Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:identify_cpu_without_cpuid
Proto:static void identify_cpu_without_cpuid(struct cpuinfo_x86 *c)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpuinfo_x86 * | c |
| 1003 | If Standard macro to see if a specific flag is changeable Then CPU family = 4 |
| 1005 | Else CPU family = 3 |
| 1008 | When i < X86_VENDOR_NUM cycle If cpu_devs[i] && c_identify Then |
| 1010 | x86_vendor_id[0] = 0 |
| 1011 | c_identify(c) |
| 1012 | If x86_vendor_id[0] Then |
| 1013 | get_cpu_vendor(c) |
| 1014 | Break |
| Name | Describe |
|---|---|
| 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 |