VirtualBox

Changeset 30842 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 14, 2010 2:19:44 PM (15 years ago)
Author:
vboxsync
Message:

Activated large guest memory support for 32-bit guests

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r30840 r30842  
    8888#if (HC_ARCH_BITS == 64) && !defined(IN_RC)
    8989# define PGM_WITH_LARGE_PAGES
     90#endif
     91
     92/**
     93 * Chunk unmapping code activated on 32-bit hosts for > 1.5/2 GB guest memory support
     94 */
     95#if (HC_ARCH_BITS == 32) && !defined(RT_OS_DARWIN)
     96# define PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST
    9097#endif
    9198
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r30841 r30842  
    31883188}
    31893189
    3190 #ifdef VBOX_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST
     3190#ifdef PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST
    31913191/**
    31923192 * Tree enumeration callback for dealing with age rollover.
     
    34293429    AssertRC(rc);
    34303430}
    3431 #endif /* VBOX_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST */
     3431#endif /* PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST */
    34323432
    34333433/**
     
    34883488        if (pVM->pgm.s.ChunkR3Map.c >= pVM->pgm.s.ChunkR3Map.cMax)
    34893489        {
    3490 #ifdef VBOX_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST
     3490#ifdef PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST
    34913491            /* Postpone the unmap operation (which requires a rendezvous operation) as we own the PGM lock here. */
    34923492            rc = VMR3ReqCallNoWaitU(pVM->pUVM, VMCPUID_ANY, (PFNRT)pgmR3PhysUnmapChunk, 1, pVM);
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