]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/cpuid.c
xnu-2050.22.13.tar.gz
[apple/xnu.git] / osfmk / i386 / cpuid.c
index abb0b94ed82c23590b89d9c53218b8ea253b3951..46061d43a16d038ccc6fe0c7afbedf2f5abfeae8 100644 (file)
@@ -587,7 +587,7 @@ cpuid_set_generic_info(i386_cpu_info_t *info_p)
        info_p->cpuid_features  = quad(reg[ecx], reg[edx]);
 
        /* Get "processor flag"; necessary for microcode update matching */
        info_p->cpuid_features  = quad(reg[ecx], reg[edx]);
 
        /* Get "processor flag"; necessary for microcode update matching */
-       info_p->cpuid_processor_flag = (rdmsr64(MSR_IA32_PLATFORM_ID)>> 50) & 3;
+       info_p->cpuid_processor_flag = (rdmsr64(MSR_IA32_PLATFORM_ID)>> 50) & 0x7;
 
        /* Fold extensions into family/model */
        if (info_p->cpuid_family == 0x0f)
 
        /* Fold extensions into family/model */
        if (info_p->cpuid_family == 0x0f)