Changeset 88790 in vbox
- Timestamp:
- Apr 30, 2021 7:45:05 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144123
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp
r88789 r88790 1239 1239 { 1240 1240 /* Verify table translation mode is legacy. */ 1241 uint8_t const 1241 uint8_t const fTtm = RT_BF_GET(pThis->uRtaddrReg, VTD_BF_RTADDR_REG_TTM); 1242 1242 if (fTtm == VTD_TTM_LEGACY_MODE) 1243 1243 { … … 1693 1693 1694 1694 /* Paranoia. */ 1695 Assert(cbQueue <= cbMaxQs); NOREF(cbMaxQs);1695 Assert(cbQueue <= cbMaxQs); 1696 1696 Assert(!(offQueueTail & ~VTD_IQT_REG_RW_MASK)); 1697 1697 Assert(!(offQueueHead & ~VTD_IQH_REG_RW_MASK)); … … 1756 1756 /* 1757 1757 * We've processed all requests and the lock shouldn't be held at this point. 1758 * Instead of re-acquiring the lock just to release it again and go back to1759 * the thread loop using 'continue' here. It's a bit ugly but it certainly1758 * Using 'continue' here allows us to skip re-acquiring the lock just to release 1759 * it again before going back to the thread loop. It's a bit ugly but it certainly 1760 1760 * helps with performance. 1761 1761 */
Note:
See TracChangeset
for help on using the changeset viewer.