Changeset 87726 in vbox
- Timestamp:
- Feb 11, 2021 9:29:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/UartCore.cpp
r84908 r87726 859 859 if (fNotifyDrv) 860 860 { 861 /* Leave the device critical section before calling into the lower driver. */ 862 PDMDevHlpCritSectLeave(pDevIns, &pThis->CritSect); 863 861 864 if ( pThisCC->pDrvSerial 862 865 && !(pThis->uRegMcr & UART_REG_MCR_LOOP)) 863 866 { 864 /* Leave the device critical section before calling into the lower driver. */865 PDMDevHlpCritSectLeave(pDevIns, &pThis->CritSect);866 867 int rc2 = pThisCC->pDrvSerial->pfnDataAvailWrNotify(pThisCC->pDrvSerial); 867 868 if (RT_FAILURE(rc2)) 868 869 LogRelMax(10, ("Serial#%d: Failed to send data with %Rrc\n", pDevIns->iInstance, rc2)); 869 PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VINF_SUCCESS);870 870 } 871 871 else 872 872 PDMDevHlpTimerSetRelative(pDevIns, pThis->hTimerTxUnconnected, pThis->cSymbolXferTicks, NULL); 873 874 PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VINF_SUCCESS); 873 875 } 874 876 #endif … … 1417 1419 break; 1418 1420 case UART_REG_SCR_INDEX: 1419 pThis->uRegScr = u 32;1421 pThis->uRegScr = uVal; 1420 1422 break; 1421 1423 default:
Note:
See TracChangeset
for help on using the changeset viewer.