Searched refs:ht_shift (Results 1 - 2 of 2) sorted by relevance

/barrelfish-2018-10-04/lib/cpuid/
H A Dcpuid_amd.c435 uint8_t ht_shift = cpuid_bits_needed(ht - 1); local
436 uint8_t ht_mask = (1 << ht_shift) - 1;
440 ti->core = (local_apic_id >> (ht_shift)) & core_mask;
441 ti->package = local_apic_id >> (ht_shift + core_shift);
H A Dcpuid_intel.c592 uint8_t ht_shift = cpuid_bits_needed(ht - 1); local
593 uint8_t ht_mask = (1 << ht_shift) - 1;
597 ti->core = (apic_id >> (ht_shift)) & core_mask;
598 ti->package = apic_id >> (ht_shift + core_shift);

Completed in 81 milliseconds