Changeset 70097 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Dec 12, 2017 7:45:51 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r69500 r70097 1115 1115 pThis->ier = 0; 1116 1116 pThis->iir = UART_IIR_NO_INT; 1117 pThis->lcr = 0;1117 pThis->lcr = 3; /* 8 data bits, no parity, 1 stop bit */ 1118 1118 pThis->lsr = UART_LSR_TEMT | UART_LSR_THRE; 1119 1119 pThis->msr = UART_MSR_DCD | UART_MSR_DSR | UART_MSR_CTS; … … 1126 1126 pThis->char_transmit_time = (tf / 9600) * 10; 1127 1127 serial_tsr_retry_update_parameters(pThis, tf); 1128 1129 /* Update parameters of the underlying driver to stay in sync. */ 1130 serial_update_parameters(pThis); 1128 1131 1129 1132 fifo_clear(pThis, RECV_FIFO); … … 1310 1313 pThis->transmit_timerRC = TMTimerRCPtr(pThis->transmit_timerR3); 1311 1314 1312 serialReset(pDevIns);1313 1314 1315 #ifdef VBOX_SERIAL_PCI 1315 1316 /* … … 1387 1388 } 1388 1389 1390 serialReset(pDevIns); 1389 1391 return VINF_SUCCESS; 1390 1392 }
Note:
See TracChangeset
for help on using the changeset viewer.