VirtualBox

Changeset 48777 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Oct 1, 2013 2:10:12 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89415
Message:

ConsoleImpl2.cpp: Typos preventing HVP from being set.

File:
1 edited

Legend:

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

    r48764 r48777  
    925925        if (fOsXGuest)
    926926        {
    927             if (   osTypeId == "MacOS"
    928                 || osTypeId == "MacOS_x64"
    929                 || osTypeId >= "MacOS107_x64")
     927            if (   osTypeId >= "MacOS107_64"
     928                || osTypeId == "MacOS"          /* legacy */
     929                || osTypeId == "MacOS_64")      /* legacy */
    930930                InsertConfigInteger(pCPUM, "EnableHVP", 1);
    931931
     
    936936            uint32_t uMaxIntelFamilyModelStep = UINT32_MAX;
    937937            if (   osTypeId == "MacOS"
    938                 || osTypeId == "MacOS_x64")
     938                || osTypeId == "MacOS_64")
    939939                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482. */
    940940            else if (   osTypeId == "MacOS106"
    941                      || osTypeId == "MacOS106_x64")
     941                     || osTypeId == "MacOS106_64")
    942942                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */
    943943            else if (   osTypeId == "MacOS107"
    944                      || osTypeId == "MacOS107_x64")
     944                     || osTypeId == "MacOS107_64")
    945945                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out what is required here. */
    946946            else if (   osTypeId == "MacOS108"
    947                      || osTypeId == "MacOS108_x64")
     947                     || osTypeId == "MacOS108_64")
    948948                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out what is required here. */
    949949            else if (   osTypeId == "MacOS109"
    950                      || osTypeId == "MacOS109_x64")
     950                     || osTypeId == "MacOS109_64")
    951951                uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out what is required here. */
    952952            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