VirtualBox

Changeset 58676 in vbox for trunk


Ignore:
Timestamp:
Nov 12, 2015 4:34:33 PM (9 years ago)
Author:
vboxsync
Message:

Hacked up to survive on a PIII-S.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/tools/VBoxCpuReport.cpp

    r58560 r58676  
    509509            /* Skip 0xc0011012..13 as it seems to be bad for our health (Phenom II X6 1100T). */
    510510            /* Ditto for 0x0000002a (EBL_CR_POWERON) and 0x00000277 (MSR_IA32_CR_PAT) on Intel (Atom 330). */
     511            /* And more of the same for 0x280 on Intel Pentium III. */
    511512            if (   ((uMsr >= 0xc0011012 && uMsr <= 0xc0011013) && g_enmVendor == CPUMCPUVENDOR_AMD)
    512513                || (   (uMsr == 0x2a || uMsr == 0x277)
    513514                    && g_enmVendor == CPUMCPUVENDOR_INTEL
    514                     && g_enmMicroarch == kCpumMicroarch_Intel_Atom_Bonnell))
     515                    && g_enmMicroarch == kCpumMicroarch_Intel_Atom_Bonnell)
     516                || (   (uMsr == 0x280)
     517                    && g_enmMicroarch == kCpumMicroarch_Intel_P6_III))
    515518                vbCpuRepDebug("Skipping %#x\n", uMsr);
    516519            else
     
    32573260    if (vbCpuRepSupportsX2Apic())
    32583261        fSkipMask |= RT_BIT_64(10);
     3262    /* For some reason, twiddling this bit kills a Tualatin PIII-S. */
     3263    if (g_enmMicroarch == kCpumMicroarch_Intel_P6_III)
     3264        fSkipMask |= RT_BIT(9);
    32593265    return reportMsr_GenFunctionEx(uMsr, "Ia32ApicBase", uValue, fSkipMask, 0, NULL);
    32603266}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette