Function report |
Source Code:arch\x86\kernel\cpu\hygon.c |
Create Date:2022-07-28 07:58:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:On Hygon setup the lower bits of the APIC id distinguish the cores.* Assumes number of cores is a power of two.
Proto:static void hygon_detect_cmp(struct cpuinfo_x86 *c)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpuinfo_x86 * | c |
| 117 | cpu = smp_processor_id() |
| 121 | Core id: = initial_apicid & (1 << bits) - 1 |
| 123 | Physical processor id: = initial_apicid >> bits |
| Name | Describe |
|---|---|
| init_hygon |
| 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 |