Changeset 82126 in vbox
- Timestamp:
- Nov 23, 2019 8:23:46 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Parallel/DevParallel.cpp
r82125 r82126 345 345 LogFlowFunc(("Set data lines 0x%X\n", u8)); 346 346 rc = pThisCC->pDrvHostParallelConnector->pfnWrite(pThisCC->pDrvHostParallelConnector, &u8, 1, PDM_PARALLEL_PORT_MODE_SPP); 347 AssertRC(VBOXSTRIC RC_VAL(rc));347 AssertRC(VBOXSTRICTRC_VAL(rc)); 348 348 } 349 349 #endif … … 366 366 else 367 367 rc = pThisCC->pDrvHostParallelConnector->pfnSetPortDirection(pThisCC->pDrvHostParallelConnector, true /* fForward */); 368 AssertRC(VBOXSTRIC RC_VAL(rc));368 AssertRC(VBOXSTRICTRC_VAL(rc)); 369 369 370 370 u8 &= ~LPT_CONTROL_ENABLE_BIDIRECT; /* Clear bit. */ 371 371 372 372 rc = pThisCC->pDrvHostParallelConnector->pfnWriteControl(pThisCC->pDrvHostParallelConnector, u8); 373 AssertRC(VBOXSTRIC RC_VAL(rc));373 AssertRC(VBOXSTRICTRC_VAL(rc)); 374 374 } 375 375 else … … 390 390 LogFlowFunc(("Write EPP address 0x%X\n", u8)); 391 391 rc = pThisCC->pDrvHostParallelConnector->pfnWrite(pThisCC->pDrvHostParallelConnector, &u8, 1, PDM_PARALLEL_PORT_MODE_EPP_ADDR); 392 AssertRC(VBOXSTRIC RC_VAL(rc));392 AssertRC(VBOXSTRICTRC_VAL(rc)); 393 393 } 394 394 #endif … … 404 404 LogFlowFunc(("Write EPP data 0x%X\n", u8)); 405 405 rc = pThisCC->pDrvHostParallelConnector->pfnWrite(pThisCC->pDrvHostParallelConnector, &u8, 1, PDM_PARALLEL_PORT_MODE_EPP_DATA); 406 AssertRC(VBOXSTRIC RC_VAL(rc));406 AssertRC(VBOXSTRICTRC_VAL(rc)); 407 407 } 408 408 #endif
Note:
See TracChangeset
for help on using the changeset viewer.