VirtualBox

Changeset 16599 in vbox for trunk


Ignore:
Timestamp:
Feb 9, 2009 4:12:59 PM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_PGMPOOL_PAGING_ONLY: updates

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r16579 r16599  
    899899
    900900            GCPdPt  = pGstPdpe->u & X86_PDPE_PG_MASK;
    901             enmKind = PGMPOOLKIND_PAE_PD_FOR_PAE_PD;
     901            enmKind = (CPUMGetGuestCR4(pVM) & X86_CR4_PAE) ? PGMPOOLKIND_PAE_PD_FOR_PAE_PD : PGMPOOLKIND_PAE_PD_FOR_32BIT_PD;
    902902        }
    903903
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r16595 r16599  
    16191619        case PGMPOOLKIND_64BIT_PML4:
    16201620#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     1621        case PGMPOOLKIND_PAE_PD_FOR_32BIT_PD:
    16211622        case PGMPOOLKIND_32BIT_PD:
    16221623        case PGMPOOLKIND_PAE_PDPT:
     
    16531654#ifdef PGMPOOL_WITH_MIXED_PT_CR3
    16541655            break;
    1655 #endif
     1656#else
    16561657        case PGMPOOLKIND_PAE_PD_FOR_32BIT_PD:
     1658#endif
    16571659        default:
    16581660            AssertFatalMsgFailed(("This can't happen! enmKind=%d\n", pPage->enmKind));
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