• Home
  • Raw
  • Download

Lines Matching full:processors

40 	const struct cpuinfo_processor* processors,  in cpuinfo_x86_count_caches()  argument
52 const uint32_t apic_id = processors[i].apic_id; in cpuinfo_x86_count_caches()
108 struct cpuinfo_processor* processors = NULL; in cpuinfo_x86_windows_init() local
142 cpuinfo_log_debug("detected %"PRIu32" processors in group %"PRIu32, in cpuinfo_x86_windows_init()
150 cpuinfo_log_debug("detected %"PRIu32" processors before group %"PRIu32, in cpuinfo_x86_windows_init()
155processors = HeapAlloc(heap, HEAP_ZERO_MEMORY, processors_count * sizeof(struct cpuinfo_processor)… in cpuinfo_x86_windows_init()
156 if (processors == NULL) { in cpuinfo_x86_windows_init()
157 cpuinfo_log_error("failed to allocate %zu bytes for descriptions of %"PRIu32" logical processors", in cpuinfo_x86_windows_init()
219 /* Bitmask representing processors in this group belonging to this package */ in cpuinfo_x86_windows_init()
224 processors[processor_id].package = (const struct cpuinfo_package*) NULL + package_id; in cpuinfo_x86_windows_init()
225 processors[processor_id].windows_group_id = (uint16_t) group_id; in cpuinfo_x86_windows_init()
226 processors[processor_id].windows_processor_id = (uint16_t) group_processor_id; in cpuinfo_x86_windows_init()
227 processors[processor_id].apic_id = package_apic_id; in cpuinfo_x86_windows_init()
258 /* We assume that cores and logical processors are reported in APIC order */ in cpuinfo_x86_windows_init()
268 /* Bitmask representing processors in this group belonging to this package */ in cpuinfo_x86_windows_init()
275 if (processors[processor_id].apic_id != current_package_apic_id) { in cpuinfo_x86_windows_init()
277 current_package_apic_id = processors[processor_id].apic_id; in cpuinfo_x86_windows_init()
283 processors[processor_id].apic_id |= in cpuinfo_x86_windows_init()
287 processors[processor_id].apic_id, group_processor_id, group_id); in cpuinfo_x86_windows_init()
289 /* Set SMT ID (assume logical processors within the core are reported in APIC order) */ in cpuinfo_x86_windows_init()
290 processors[processor_id].smt_id = smt_id++; in cpuinfo_x86_windows_init()
291 processors[processor_id].core = (const struct cpuinfo_core*) NULL + core_id; in cpuinfo_x86_windows_init()
322 struct cpuinfo_processor* processor = processors + processor_id; in cpuinfo_x86_windows_init()
324 /* Adjust core and package pointers for all logical processors */ in cpuinfo_x86_windows_init()
335 /* This can be overwritten by lower-index processors on the same package */ in cpuinfo_x86_windows_init()
339 /* This can be overwritten by lower-index processors on the same cluster */ in cpuinfo_x86_windows_init()
343 /* This can be overwritten by lower-index processors on the same core*/ in cpuinfo_x86_windows_init()
352 const struct cpuinfo_processor* processor = processors + core->processor_start; in cpuinfo_x86_windows_init()
386 cpuinfo_x86_count_caches(processors_count, processors, &x86_processor, in cpuinfo_x86_windows_init()
436 const uint32_t apic_id = processors[i].apic_id; in cpuinfo_x86_windows_init()
440 processors[i].cache.l1i = &l1i[l1i_index]; in cpuinfo_x86_windows_init()
458 processors[i].cache.l1i = &l1i[l1i_index]; in cpuinfo_x86_windows_init()
465 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_windows_init()
483 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_windows_init()
490 processors[i].cache.l2 = &l2[l2_index]; in cpuinfo_x86_windows_init()
508 processors[i].cache.l2 = &l2[l2_index]; in cpuinfo_x86_windows_init()
515 processors[i].cache.l3 = &l3[l3_index]; in cpuinfo_x86_windows_init()
533 processors[i].cache.l3 = &l3[l3_index]; in cpuinfo_x86_windows_init()
540 processors[i].cache.l4 = &l4[l4_index]; in cpuinfo_x86_windows_init()
558 processors[i].cache.l4 = &l4[l4_index]; in cpuinfo_x86_windows_init()
567 cpuinfo_processors = processors; in cpuinfo_x86_windows_init()
586 cpuinfo_max_cache_size = cpuinfo_compute_max_cache_size(&processors[0]); in cpuinfo_x86_windows_init()
599 processors = NULL; in cpuinfo_x86_windows_init()
606 if (processors != NULL) { in cpuinfo_x86_windows_init()
607 HeapFree(heap, 0, processors); in cpuinfo_x86_windows_init()