Function report |
Source Code:arch\x86\kernel\apic\x2apic_uv_x.c |
Create Date:2022-07-28 08:33:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_x2apic_bits
Proto:static void set_x2apic_bits(void)
Type:void
Parameter:Nothing
205 | If eax < 0xb Then |
206 | pr_info("UV: CPU does not have CPUID.11\n") |
207 | Return |
210 | cpuid_count(0xb, Leaf 0xb SMT level , & eax, & ebx, & ecx, & edx) |
211 | If ebx == 0 || LEAFB_SUBTYPE(ecx) != SMT_TYPE Then |
212 | pr_info("UV: CPUID.11 not implemented\n") |
213 | Return |
216 | sid_shift = BITS_SHIFT_NEXT_LEVEL(eax) |
217 | sub_index = 1 |
218 | Do |
220 | If LEAFB_SUBTYPE(ecx) == CORE_TYPE Then |
221 | sid_shift = BITS_SHIFT_NEXT_LEVEL(eax) |
222 | Break |
224 | sub_index++ |
225 | When LEAFB_SUBTYPE(ecx) != Leaf 0xb sub-leaf types cycle |
227 | apicid_shift = 0 |
228 | apicid_mask = ~(-1 << sid_shift) |
Name | Describe |
---|---|
early_get_apic_socketid_shift |
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 |