VirtualBox

Ignore:
Timestamp:
Sep 9, 2011 2:38:59 PM (13 years ago)
Author:
vboxsync
Message:

PGM: Drop the PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST define and instead just select different defaults when reading MaxRing3Chunks from CFGM. Also, force a 3GB max limit on 32-bit darwin (previously unlimted).

File:
1 edited

Legend:

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

    r38320 r38708  
    36863686}
    36873687
    3688 #ifdef PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST
    36893688
    36903689/**
     
    39393938}
    39403939
    3941 #endif /* PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST */
    39423940
    39433941/**
     
    40013999        if (pVM->pgm.s.ChunkR3Map.c >= pVM->pgm.s.ChunkR3Map.cMax)
    40024000        {
    4003 #ifdef PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST
    40044001            /* Postpone the unmap operation (which requires a rendezvous operation) as we own the PGM lock here. */
    40054002            rc = VMR3ReqCallNoWaitU(pVM->pUVM, VMCPUID_ANY_QUEUE, (PFNRT)pgmR3PhysUnmapChunk, 1, pVM);
    40064003            AssertRC(rc);
    4007 #else
    4008             AssertFatalFailed();  /* can't happen */
    4009 #endif
    40104004        }
    40114005    }
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