- Timestamp:
- Apr 3, 2013 3:05:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IOMInternal.h
r45311 r45312 19 19 #define ___IOMInternal_h 20 20 21 //#define IOM_WITH_CRIT_SECT_RW21 #define IOM_WITH_CRIT_SECT_RW 22 22 23 23 #include <VBox/cdefs.h> … … 437 437 # define IOM_LOCK_EXCL(a_pVM) PDMCritSectRwEnterExcl(&(a_pVM)->iom.s.CritSect, VERR_SEM_BUSY) 438 438 # define IOM_UNLOCK_EXCL(a_pVM) do { PDMCritSectRwLeaveExcl(&(a_pVM)->iom.s.CritSect); } while (0) 439 # if 0 /* for the time being (the lookup caches needs to be in VMCPU) */439 # if 0 /* (in case needed for debugging) */ 440 440 # define IOM_LOCK_SHARED_EX(a_pVM, a_rcBusy) PDMCritSectRwEnterExcl(&(a_pVM)->iom.s.CritSect, (a_rcBusy)) 441 441 # define IOM_UNLOCK_SHARED(a_pVM) do { PDMCritSectRwLeaveExcl(&(a_pVM)->iom.s.CritSect); } while (0)
Note:
See TracChangeset
for help on using the changeset viewer.