Changeset 88840 in vbox
- Timestamp:
- May 3, 2021 4:10:17 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144174
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r88818 r88840 173 173 174 174 /** Acquires the cache lock. */ 175 #define IOMMU_CACHE_LOCK(a_pDevIns, a_pThis) \ 175 #ifdef IN_RING3 176 # define IOMMU_CACHE_LOCK(a_pDevIns, a_pThis) PDMDevHlpCritSectEnter((a_pDevIns), &(a_pThis)->CritSectCache, VERR_IGNORED) 177 #else 178 # define IOMMU_CACHE_LOCK(a_pDevIns, a_pThis) \ 176 179 do { \ 177 180 int const rcLock = PDMDevHlpCritSectEnter((a_pDevIns), &(a_pThis)->CritSectCache, VINF_SUCCESS); \ 178 181 AssertRC(rcLock); \ 179 182 } while (0) 183 #endif 180 184 181 185 /** Releases the cache lock. */
Note:
See TracChangeset
for help on using the changeset viewer.