VirtualBox

Changeset 50584 in vbox for trunk/src/VBox/VMM/tools


Ignore:
Timestamp:
Feb 25, 2014 4:06:26 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92451
Message:

CPUM,DevEFI: Bus vs cpu clock ratio fixes for more recent CPUs. Older CPUs (<=Core2) still need some more work.

File:
1 edited

Legend:

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

    r49993 r50584  
    695695        case 0x000000c8: return g_enmMicroarch >= kCpumMicroarch_Intel_Core7_First ? "IA32_PMC7" : NULL;
    696696        case 0x000000cd: return "P6_UNK_0000_00cd"; /* P6_M_Dothan. */
    697         case 0x000000ce: return "P6_UNK_0000_00ce"; /* P6_M_Dothan. */
     697        case 0x000000ce: return g_enmMicroarch >= kCpumMicroarch_Intel_Core7_First ? "IA32_PLATFORM_INFO" : "P6_UNK_0000_00ce"; /* P6_M_Dothan. */
    698698        case 0x000000cf: return "C2_UNK_0000_00cf"; /* Core2_Penryn. */
    699699        case 0x000000e0: return "C2_UNK_0000_00e0"; /* Core2_Penryn. */
     
    18431843            return NULL;
    18441844
     1845        case 0x000000ce: return CPUMMICROARCH_IS_INTEL_CORE7(g_enmMicroarch)
     1846                              ? (g_enmMicroarch >= kCpumMicroarch_Intel_Core7_SandyBridge
     1847                                 ? "IntelPlatformInfo100MHz" : "IntelPlatformInfo133MHz")
     1848                              : NULL;
     1849
    18451850        case 0x000000e2: return "IntelPkgCStConfigControl";
    18461851        case 0x000000e3: return "IntelCore2SmmCStMiscInfo";
     
    18771882        case 0x00000187: return "Ia32PerfEvtSelN";
    18781883        case 0x00000193: return /*g_fIntelNetBurst ? NULL :*/ NULL /* Core2_Penryn. */;
     1884        case 0x00000194:
     1885            if (g_fIntelNetBurst)
     1886                break;
     1887            *pfTakesValue = true;
     1888            return CPUMMICROARCH_IS_INTEL_CORE7(g_enmMicroarch) && g_enmMicroarch >= kCpumMicroarch_Intel_Core7_SandyBridge
     1889                 ? "IntelFlexRatio100MHz" : "IntelFlexRatio133MHz";
    18791890        case 0x00000198: *pfTakesValue = true; return "Ia32PerfStatus";
    18801891        case 0x00000199: *pfTakesValue = true; return "Ia32PerfCtl";
Note: See TracChangeset for help on using the changeset viewer.

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