Changeset 20764 in vbox
- Timestamp:
- Jun 22, 2009 11:13:45 AM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
-
PGMInternal.h (modified) (3 diffs)
-
PGMPool.cpp (modified) (1 diff)
-
VMMAll/PGMAllPool.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r20567 r20764 2977 2977 int pgmR0DynMapHCPageCommon(PVM pVM, PPGMMAPSET pSet, RTHCPHYS HCPhys, void **ppv); 2978 2978 #endif 2979 int pgmPoolAllocEx(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, PGMPOOLACCESS enmAccess, uint16_t iUser, uint32_t iUserTable, PPPGMPOOLPAGE ppPage );2980 2981 DECLINLINE(int) pgmPoolAlloc(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, uint16_t iUser, uint32_t iUserTable, PPPGMPOOLPAGE ppPage )2982 { 2983 return pgmPoolAllocEx(pVM, GCPhys, enmKind, PGMPOOLACCESS_DONTCARE, iUser, iUserTable, ppPage );2979 int pgmPoolAllocEx(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, PGMPOOLACCESS enmAccess, uint16_t iUser, uint32_t iUserTable, PPPGMPOOLPAGE ppPage, bool fLockPage = false); 2980 2981 DECLINLINE(int) pgmPoolAlloc(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, uint16_t iUser, uint32_t iUserTable, PPPGMPOOLPAGE ppPage, bool fLockPage = false) 2982 { 2983 return pgmPoolAllocEx(pVM, GCPhys, enmKind, PGMPOOLACCESS_DONTCARE, iUser, iUserTable, ppPage, fLockPage); 2984 2984 } 2985 2985 … … 4473 4473 DECLINLINE(void) pgmPoolLockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 4474 4474 { 4475 Assert(PGMIsLockOwner(pPool->CTX_SUFF(pVM))); 4475 4476 ASMAtomicIncU32(&pPage->cLocked); 4476 4477 } … … 4485 4486 DECLINLINE(void) pgmPoolUnlockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 4486 4487 { 4488 Assert(PGMIsLockOwner(pPool->CTX_SUFF(pVM))); 4487 4489 Assert(pPage->cLocked); 4488 4490 ASMAtomicDecU32(&pPage->cLocked); -
trunk/src/VBox/VMM/PGMPool.cpp
r20058 r20764 529 529 } 530 530 531 Assert(pPage->enmKind != PGMPOOLKIND_FREE); 532 531 533 if (!pVCpu) /** @todo This shouldn't happen any longer, all access handlers will be called on an EMT. All ring-3 handlers, except MMIO, already own the PGM lock. @bugref{3170} */ 532 534 { -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r20763 r20764 1120 1120 } 1121 1121 1122 Assert(pPage->enmKind != PGMPOOLKIND_FREE); 1123 1122 1124 /* 1123 1125 * We should ALWAYS have the list head as user parameter. This
Note:
See TracChangeset
for help on using the changeset viewer.

