Changeset 40280 in vbox for trunk/src/VBox/Devices/Parallel
- Timestamp:
- Feb 28, 2012 7:47:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Parallel/DevParallel.cpp
r39684 r40280 334 334 if (cb == 1) 335 335 { 336 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_ HC_IOPORT_WRITE);336 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_R3_IOPORT_WRITE); 337 337 if (rc == VINF_SUCCESS) 338 338 { … … 347 347 #ifndef IN_RING3 348 348 NOREF(u8); 349 rc = VINF_IOM_ HC_IOPORT_WRITE;349 rc = VINF_IOM_R3_IOPORT_WRITE; 350 350 #else 351 351 pThis->regData = u8; … … 366 366 { 367 367 #ifndef IN_RING3 368 return VINF_IOM_ HC_IOPORT_WRITE;368 return VINF_IOM_R3_IOPORT_WRITE; 369 369 #else 370 370 /* Set data direction. */ … … 385 385 #ifndef IN_RING3 386 386 NOREF(u8); 387 rc = VINF_IOM_ HC_IOPORT_WRITE;387 rc = VINF_IOM_R3_IOPORT_WRITE; 388 388 #else 389 389 pThis->regEppAddr = u8; … … 399 399 #ifndef IN_RING3 400 400 NOREF(u8); 401 rc = VINF_IOM_ HC_IOPORT_WRITE;401 rc = VINF_IOM_R3_IOPORT_WRITE; 402 402 #else 403 403 pThis->regEppData = u8; … … 446 446 if (cb == 1) 447 447 { 448 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_ HC_IOPORT_READ);448 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_R3_IOPORT_READ); 449 449 if (rc == VINF_SUCCESS) 450 450 { … … 458 458 { 459 459 #ifndef IN_RING3 460 rc = VINF_IOM_ HC_IOPORT_READ;460 rc = VINF_IOM_R3_IOPORT_READ; 461 461 #else 462 462 if (RT_LIKELY(pThis->pDrvHostParallelConnector)) … … 473 473 case 1: 474 474 #ifndef IN_RING3 475 rc = VINF_IOM_ HC_IOPORT_READ;475 rc = VINF_IOM_R3_IOPORT_READ; 476 476 #else 477 477 if (RT_LIKELY(pThis->pDrvHostParallelConnector)) … … 486 486 case 2: 487 487 #ifndef IN_RING3 488 rc = VINF_IOM_ HC_IOPORT_READ;488 rc = VINF_IOM_R3_IOPORT_READ; 489 489 #else 490 490 rc = pThis->pDrvHostParallelConnector->pfnReadControl(pThis->pDrvHostParallelConnector, &pThis->regControl); … … 496 496 case 3: 497 497 #ifndef IN_RING3 498 rc = VINF_IOM_ HC_IOPORT_READ;498 rc = VINF_IOM_R3_IOPORT_READ; 499 499 #else 500 500 if (RT_LIKELY(pThis->pDrvHostParallelConnector)) … … 510 510 case 4: 511 511 #ifndef IN_RING3 512 rc = VINF_IOM_ HC_IOPORT_READ;512 rc = VINF_IOM_R3_IOPORT_READ; 513 513 #else 514 514 if (RT_LIKELY(pThis->pDrvHostParallelConnector)) … … 558 558 if (cb == 1) 559 559 { 560 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_ HC_IOPORT_WRITE);560 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_R3_IOPORT_WRITE); 561 561 if (rc == VINF_SUCCESS) 562 562 { … … 591 591 if (cb == 1) 592 592 { 593 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_ HC_IOPORT_READ);593 rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_R3_IOPORT_READ); 594 594 if (rc == VINF_SUCCESS) 595 595 {
Note:
See TracChangeset
for help on using the changeset viewer.