Changeset 19807 in vbox
- Timestamp:
- May 19, 2009 9:01:05 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47453
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/iom.h
r19682 r19807 216 216 VMMDECL(int) IOMMMIOMapMMIO2Page(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags); 217 217 VMMDECL(int) IOMMMIOResetRegion(PVM pVM, RTGCPHYS GCPhys); 218 VMMDECL(bool) IOMIsLockOwner(PVM pVM); 218 219 219 220 #ifdef IN_RC -
trunk/src/VBox/VMM/PGMPhys.cpp
r19300 r19807 1101 1101 int pgmR3PhysRamReset(PVM pVM) 1102 1102 { 1103 Assert(PGMIsLockOwner(pVM)); 1103 1104 /* 1104 1105 * We batch up pages before freeing them. -
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r19487 r19807 81 81 } 82 82 83 84 /** 85 * Check if this VCPU currently owns the IOM lock. 86 * 87 * @returns bool owner/not owner 88 * @param pVM The VM to operate on. 89 */ 90 VMMDECL(bool) IOMIsLockOwner(PVM pVM) 91 { 92 return PDMCritSectIsOwner(&pVM->iom.s.EmtLock); 93 } 94 83 95 /** 84 96 * Returns the contents of register or immediate data of instruction's parameter. -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r19806 r19807 977 977 VMMDECL(int) PGMHandlerPhysicalPageAlias(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysPage, RTGCPHYS GCPhysPageRemap) 978 978 { 979 /// Assert(!IOMIsLockOwner(pVM)); /* We mustn't own any other locks when calling this */ 980 979 981 /* 980 982 * Lookup and validate the range.
Note:
See TracChangeset
for help on using the changeset viewer.