VirtualBox

Changeset 38712 in vbox


Ignore:
Timestamp:
Sep 12, 2011 9:57:59 AM (13 years ago)
Author:
vboxsync
Message:

PGM: Log the host paging mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGM.cpp

    r38708 r38712  
    16011601                MMPage2Phys(pVM, pVM->pgm.s.pInterPaePDPT64)));
    16021602#endif
     1603
     1604        /*
     1605         * Log the host paging mode. It may come in handy.
     1606         */
     1607        const char *pszHostMode;
     1608        switch (pVM->pgm.s.enmHostMode)
     1609        {
     1610            case SUPPAGINGMODE_32_BIT:              pszHostMode = "32-bit"; break;
     1611            case SUPPAGINGMODE_32_BIT_GLOBAL:       pszHostMode = "32-bit+PGE"; break;
     1612            case SUPPAGINGMODE_PAE:                 pszHostMode = "PAE"; break;
     1613            case SUPPAGINGMODE_PAE_GLOBAL:          pszHostMode = "PAE+PGE"; break;
     1614            case SUPPAGINGMODE_PAE_NX:              pszHostMode = "PAE+NXE"; break;
     1615            case SUPPAGINGMODE_PAE_GLOBAL_NX:       pszHostMode = "PAE+PGE+NXE"; break;
     1616            case SUPPAGINGMODE_AMD64:               pszHostMode = "AMD64"; break;
     1617            case SUPPAGINGMODE_AMD64_GLOBAL:        pszHostMode = "AMD64+PGE"; break;
     1618            case SUPPAGINGMODE_AMD64_NX:            pszHostMode = "AMD64+NX"; break;
     1619            case SUPPAGINGMODE_AMD64_GLOBAL_NX:     pszHostMode = "AMD64+PGE+NX"; break;
     1620            default:                                pszHostMode = "???"; break;
     1621        }
     1622        LogRel(("Host paging mode: %s\n", pszHostMode));
     1623
    16031624        return VINF_SUCCESS;
    16041625    }
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