Changeset 9956 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 26, 2008 2:19:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r9955 r9956 2458 2458 u.pau64 = (uint64_t *)PGMPOOL_PAGE_2_PTR(pPool->CTXSUFF(pVM), pUserPage); 2459 2459 2460 /* Safety precaution in case we change the paging for other modes too in the future. */ 2461 Assert(PGMGetHyperCR3(CTXSUFF(pPool->pVM)) != pPage->Core.Key); 2462 2460 2463 #ifdef VBOX_STRICT 2461 2464 /* … … 3433 3436 if (pPage->idx < PGMPOOL_IDX_FIRST) 3434 3437 { 3435 Log(("pgmPoolFlushPage: spec aial root page, rejected. enmKind=%d idx=%d\n", pPage->enmKind, pPage->idx));3438 Log(("pgmPoolFlushPage: special root page, rejected. enmKind=%d idx=%d\n", pPage->enmKind, pPage->idx)); 3436 3439 return VINF_SUCCESS; 3437 3440 } 3441 3442 /* 3443 * Quietly reject any attempts at flushing the currently active shadow CR3 mapping 3444 */ 3445 if ( pPage->idx == PGMPOOL_IDX_AMD64_CR3 3446 && PGMGetHyperCR3(CTXSUFF(pPool->pVM)) != pPage->Core.Key) 3447 { 3448 Log(("pgmPoolFlushPage: current active shadow CR3, rejected. enmKind=%d idx=%d\n", pPage->enmKind, pPage->idx)); 3449 return VINF_SUCCESS; 3450 } 3451 /* Safety precaution in case we change the paging for other modes too in the future. */ 3452 AssertFatal(PGMGetHyperCR3(CTXSUFF(pPool->pVM)) != pPage->Core.Key); 3438 3453 3439 3454 /*
Note:
See TracChangeset
for help on using the changeset viewer.