Changeset 16890 in vbox
- Timestamp:
- Feb 18, 2009 10:57:21 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pgm.h
r16889 r16890 331 331 VMMDECL(int) PGMMapActivateAll(PVM pVM); 332 332 VMMDECL(int) PGMMapDeactivateAll(PVM pVM); 333 VMMDECL(bool) PGMMapHasConflicts(PVM pVM, uint64_t cr3,bool fResolveConflicts);333 VMMDECL(bool) PGMMapHasConflicts(PVM pVM, bool fResolveConflicts); 334 334 335 335 VMMDECL(int) PGMShwGetPage(PVM pVM, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys); -
trunk/src/VBox/VMM/EM.cpp
r16889 r16890 2607 2607 ("Tried to execute code with IF at EIP=%08x!\n", pCtx->eip)); 2608 2608 if ( !VM_FF_ISPENDING(pVM, VM_FF_PGM_SYNC_CR3 | VM_FF_PGM_SYNC_CR3_NON_GLOBAL) 2609 && PGMMapHasConflicts(pVM, pCtx->cr3,false))2609 && PGMMapHasConflicts(pVM, false)) 2610 2610 { 2611 2611 AssertMsgFailed(("We should not get conflicts any longer!!!\n")); … … 2720 2720 */ 2721 2721 if ( !VM_FF_ISPENDING(pVM, VM_FF_PGM_SYNC_CR3 | VM_FF_PGM_SYNC_CR3_NON_GLOBAL) 2722 && PGMMapHasConflicts(pVM, pCtx->cr3,false))2722 && PGMMapHasConflicts(pVM, false)) 2723 2723 { 2724 2724 AssertMsgFailed(("We should not get conflicts any longer!!!\n")); -
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r16889 r16890 531 531 * @returns false if not. 532 532 * @param pVM The virtual machine. 533 * @param cr3 Guest context CR3 register.534 533 * @param fResolveConflicts Whether to resolve found conflicts or not (only valid in ring 3) 535 534 */ 536 VMMDECL(bool) PGMMapHasConflicts(PVM pVM, uint64_t cr3,bool fResolveConflicts)535 VMMDECL(bool) PGMMapHasConflicts(PVM pVM, bool fResolveConflicts) 537 536 { 538 537 /* … … 555 554 PX86PD pPD = pVM->pgm.s.CTX_SUFF(pGst32BitPd); 556 555 Assert(pPD); 557 Assert(pPD == (PX86PD)PGMPhysGCPhys2R3PtrAssert(pVM, cr3 & X86_CR3_PAGE_MASK, sizeof(*pPD)));558 556 559 557 for (PPGMMAPPING pCur = pVM->pgm.s.CTX_SUFF(pMappings); pCur; pCur = pCur->CTX_SUFF(pNext))
Note:
See TracChangeset
for help on using the changeset viewer.