Changeset 14504 in vbox for trunk/src/VBox
- Timestamp:
- Nov 24, 2008 3:10:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp
r14494 r14504 314 314 VMMR0DECL(int) PGMR0DynMapInitVM(PVM pVM) 315 315 { 316 #ifndef DEBUG_bird 317 return VINF_SUCCESS; 318 #else 316 AssertMsgReturn(!pVM->pgm.s.pvR0DynMapUsed, ("%p (pThis=%p)\n", pVM->pgm.s.pvR0DynMapUsed, g_pPGMR0DynMap), VERR_WRONG_ORDER); 317 319 318 /* 320 319 * Initialize the auto sets. … … 337 336 * Do we need the cache? Skip the last bit if we don't. 338 337 */ 339 Assert(!pVM->pgm.s.pvR0DynMapUsed);340 pVM->pgm.s.pvR0DynMapUsed = NULL;341 338 if (!HWACCMIsEnabled(pVM)) 342 339 return VINF_SUCCESS; … … 363 360 364 361 return rc; 365 #endif366 362 } 367 363 … … 374 370 VMMR0DECL(void) PGMR0DynMapTermVM(PVM pVM) 375 371 { 376 #ifdef DEBUG_bird377 372 /* 378 373 * Return immediately if we're not using the cache. … … 442 437 443 438 RTSemFastMutexRelease(pThis->hInitLock); 444 #endif445 439 } 446 440
Note:
See TracChangeset
for help on using the changeset viewer.