Changeset 90332 in vbox
- Timestamp:
- Jul 26, 2021 12:57:23 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145895
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r89588 r90332 3564 3564 { 3565 3565 PE1KSTATE pThis = (PE1KSTATE)pvUser; 3566 Assert(PDM CritSectIsOwner(&pThis->csTx));3566 Assert(PDMDevHlpCritSectIsOwner(pDevIns, &pThis->csTx)); 3567 3567 RT_NOREF(hTimer); 3568 3568 -
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r90318 r90332 1530 1530 * Destroy the RTE critical section. 1531 1531 */ 1532 if (PDM CritSectIsInitialized(&pThis->CritSect))1533 PDM R3CritSectDelete(&pThis->CritSect);1532 if (PDMDevHlpCritSectIsInitialized(pDevIns, &pThis->CritSect)) 1533 PDMDevHlpCritSectDelete(pDevIns, &pThis->CritSect); 1534 1534 # else 1535 1535 RT_NOREF_PV(pThis); -
trunk/src/VBox/Devices/Parallel/DevParallel.cpp
r82968 r90332 304 304 PPARALLELPORT pThis = PDMDEVINS_2_DATA(pDevIns, PPARALLELPORT); 305 305 306 PDM CritSectEnter(pDevIns->pCritSectRoR3, VINF_SUCCESS);306 PDMDevHlpCritSectEnter(pDevIns, pDevIns->pCritSectRoR3, VINF_SUCCESS); 307 307 parallelR3IrqSet(pDevIns, pThis); 308 PDM CritSectLeave(pDevIns->pCritSectRoR3);308 PDMDevHlpCritSectLeave(pDevIns, pDevIns->pCritSectRoR3); 309 309 310 310 return VINF_SUCCESS; -
trunk/src/VBox/Devices/Serial/UartCore.cpp
r88536 r90332 1632 1632 1633 1633 /* Set the transmitter empty bit because everything was sent. */ 1634 PDM CritSectEnter(&pThis->CritSect, VERR_IGNORED);1634 PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VERR_IGNORED); 1635 1635 UART_REG_SET(pThis->uRegLsr, UART_REG_LSR_TEMT); 1636 1636 uartIrqUpdate(pDevIns, pThis, pThisCC); 1637 PDM CritSectLeave(&pThis->CritSect);1637 PDMDevHlpCritSectLeave(pDevIns, &pThis->CritSect); 1638 1638 return VINF_SUCCESS; 1639 1639 } … … 1652 1652 AssertReturn(cbRead > 0, VERR_INVALID_PARAMETER); 1653 1653 1654 PDM CritSectEnter(&pThis->CritSect, VERR_IGNORED);1654 PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VERR_IGNORED); 1655 1655 uartR3TxQueueCopyFrom(pDevIns, pThis, pThisCC, pvBuf, cbRead, pcbRead); 1656 PDM CritSectLeave(&pThis->CritSect);1656 PDMDevHlpCritSectLeave(pDevIns, &pThis->CritSect); 1657 1657 1658 1658 LogFlowFunc(("-> VINF_SUCCESS{*pcbRead=%zu}\n", *pcbRead)); … … 1671 1671 PPDMDEVINS pDevIns = pThisCC->pDevIns; 1672 1672 1673 PDM CritSectEnter(&pThis->CritSect, VERR_IGNORED);1673 PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VERR_IGNORED); 1674 1674 uartR3StsLinesUpdate(pDevIns, pThis, pThisCC, fNewStatusLines); 1675 PDM CritSectLeave(&pThis->CritSect);1675 PDMDevHlpCritSectLeave(pDevIns, &pThis->CritSect); 1676 1676 return VINF_SUCCESS; 1677 1677 } … … 1688 1688 PPDMDEVINS pDevIns = pThisCC->pDevIns; 1689 1689 1690 PDM CritSectEnter(&pThis->CritSect, VERR_IGNORED);1690 PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VERR_IGNORED); 1691 1691 UART_REG_SET(pThis->uRegLsr, UART_REG_LSR_BI); 1692 1692 uartIrqUpdate(pDevIns, pThis, pThisCC); 1693 PDM CritSectLeave(&pThis->CritSect);1693 PDMDevHlpCritSectLeave(pDevIns, &pThis->CritSect); 1694 1694 return VINF_SUCCESS; 1695 1695 } -
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r87971 r90332 6024 6024 if (RTCritSectIsInitialized(&pThisCC->CritSect)) 6025 6025 RTCritSectDelete(&pThisCC->CritSect); 6026 PDM R3CritSectDelete(&pThis->CsIrq);6026 PDMDevHlpCritSectDelete(pDevIns, &pThis->CsIrq); 6027 6027 6028 6028 /* -
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r90266 r90332 316 316 { 317 317 Log3(("vmmdevNotifyGuestWorker: fAddEvents=%#010x.\n", fAddEvents)); 318 Assert(PDM CritSectIsOwner(&pThis->CritSect));318 Assert(PDMDevHlpCritSectIsOwner(pDevIns, &pThis->CritSect)); 319 319 320 320 if (!VMMDEV_INTERFACE_VERSION_IS_1_03(pThis)) … … 3183 3183 else 3184 3184 { 3185 Log(("vmmdevFastRequestHandler: PDM CritSectEnter -> %Rrc\n", rc2));3185 Log(("vmmdevFastRequestHandler: PDMDevHlpPDMCritSectEnter -> %Rrc\n", rc2)); 3186 3186 rcStrict = rc2; 3187 3187 }
Note:
See TracChangeset
for help on using the changeset viewer.