儲存庫 vbox 的更動 38708
- 時間撮記:
- 2011-9-9 下午02:38:59 (13 年 以前)
- 位置:
- trunk/src/VBox/VMM
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r38707 r38708 1264 1264 AssertLogRelRCReturn(rc, rc); 1265 1265 1266 #ifdef PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST 1266 #if HC_ARCH_BITS == 32 1267 # ifdef RT_OS_DARWIN 1268 rc = CFGMR3QueryU32Def(pCfgPGM, "MaxRing3Chunks", &pVM->pgm.s.ChunkR3Map.cMax, _1G / GMM_CHUNK_SIZE * 3); 1269 # else 1267 1270 rc = CFGMR3QueryU32Def(pCfgPGM, "MaxRing3Chunks", &pVM->pgm.s.ChunkR3Map.cMax, _1G / GMM_CHUNK_SIZE); 1271 # endif 1268 1272 #else 1269 1273 rc = CFGMR3QueryU32Def(pCfgPGM, "MaxRing3Chunks", &pVM->pgm.s.ChunkR3Map.cMax, UINT32_MAX); -
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r38320 r38708 3686 3686 } 3687 3687 3688 #ifdef PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST3689 3688 3690 3689 /** … … 3939 3938 } 3940 3939 3941 #endif /* PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST */3942 3940 3943 3941 /** … … 4001 3999 if (pVM->pgm.s.ChunkR3Map.c >= pVM->pgm.s.ChunkR3Map.cMax) 4002 4000 { 4003 #ifdef PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST4004 4001 /* Postpone the unmap operation (which requires a rendezvous operation) as we own the PGM lock here. */ 4005 4002 rc = VMR3ReqCallNoWaitU(pVM->pUVM, VMCPUID_ANY_QUEUE, (PFNRT)pgmR3PhysUnmapChunk, 1, pVM); 4006 4003 AssertRC(rc); 4007 #else4008 AssertFatalFailed(); /* can't happen */4009 #endif4010 4004 } 4011 4005 } -
trunk/src/VBox/VMM/include/PGMInternal.h
r38707 r38708 90 90 #if 1 /* testing */ 91 91 # define PGM_WITH_MMIO_OPTIMIZATIONS 92 #endif93 94 /**95 * Chunk unmapping code activated on 32-bit hosts for > 1.5/2 GB guest memory support96 */97 #if (HC_ARCH_BITS == 32) && !defined(RT_OS_DARWIN)98 # define PGM_WITH_LARGE_ADDRESS_SPACE_ON_32_BIT_HOST99 92 #endif 100 93
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器