Changeset 25243 in vbox
- Timestamp:
- Dec 8, 2009 1:12:24 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55760
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r24713 r25243 539 539 if (RTAvlroGCPhysInsert(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysHandlers, &pCur->Core)) 540 540 { 541 PGMPHYSHANDLERTYPE enmType = pCur->enmType;542 RTGCPHYS GCPhysLast = pCur->Core.KeyLast - GCPhys + 1;541 PGMPHYSHANDLERTYPE enmType = pCur->enmType; 542 RTGCPHYS cb = GCPhysLast - GCPhys + 1; 543 543 bool fHasHCHandler = !!pCur->pfnHandlerR3; 544 544 … … 550 550 551 551 #ifndef IN_RING3 552 REMNotifyHandlerPhysicalModify(pVM, enmType, GCPhysCurrent, GCPhys, 553 GCPhysLast - GCPhys + 1,fHasHCHandler, fRestoreAsRAM);552 REMNotifyHandlerPhysicalModify(pVM, enmType, GCPhysCurrent, GCPhys, cb, 553 fHasHCHandler, fRestoreAsRAM); 554 554 #else 555 REMR3NotifyHandlerPhysicalModify(pVM, enmType, GCPhysCurrent, GCPhys, 556 GCPhysLast,fHasHCHandler, fRestoreAsRAM);555 REMR3NotifyHandlerPhysicalModify(pVM, enmType, GCPhysCurrent, GCPhys, cb, 556 fHasHCHandler, fRestoreAsRAM); 557 557 #endif 558 558 PGM_INVL_ALL_VCPU_TLBS(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.