VirtualBox

Changeset 56858 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 8, 2015 12:18:48 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101521
Message:

ConsoleImpl2.cpp: Corrected MaxIntelFamilyModelStep calculation. Mysterious 7 in the high byte is unwanted, see cpumR3CpuIdLimitIntelFamModStep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r56512 r56858  
    10891089            if (   osTypeId == "MacOS"
    10901090                || osTypeId == "MacOS_64")
    1091                 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482. */
     1091                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 0); /* Penryn / X5482. */
    10921092            else if (   osTypeId == "MacOS106"
    10931093                     || osTypeId == "MacOS106_64")
    1094                 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */
     1094                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 0); /* Penryn / X5482 */
    10951095            else if (   osTypeId == "MacOS107"
    10961096                     || osTypeId == "MacOS107_64")
    1097                 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out
     1097                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 0); /* Penryn / X5482 */ /** @todo figure out
    10981098                                                                                what is required here. */
    10991099            else if (   osTypeId == "MacOS108"
    11001100                     || osTypeId == "MacOS108_64")
    1101                 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out
     1101                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 0); /* Penryn / X5482 */ /** @todo figure out
    11021102                                                                                what is required here. */
    11031103            else if (   osTypeId == "MacOS109"
    11041104                     || osTypeId == "MacOS109_64")
    1105                 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure
     1105                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 0); /* Penryn / X5482 */ /** @todo figure
    11061106                                                                                out what is required here. */
    11071107            if (uMaxIntelFamilyModelStep != UINT32_MAX)
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