Changeset 40280 in vbox for trunk/src/VBox/Devices/Serial
- Timestamp:
- Feb 28, 2012 7:47:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r37466 r40280 460 460 #ifndef IN_RING3 461 461 NOREF(s); 462 return VINF_IOM_ HC_IOPORT_WRITE;462 return VINF_IOM_R3_IOPORT_WRITE; 463 463 #else 464 464 switch(addr) { … … 598 598 } else { 599 599 #ifndef IN_RING3 600 *pRC = VINF_IOM_ HC_IOPORT_READ;600 *pRC = VINF_IOM_R3_IOPORT_READ; 601 601 #else 602 602 if (s->fcr & UART_FCR_FE) { … … 633 633 case 2: 634 634 #ifndef IN_RING3 635 *pRC = VINF_IOM_ HC_IOPORT_READ;635 *pRC = VINF_IOM_R3_IOPORT_READ; 636 636 #else 637 637 ret = s->iir; … … 655 655 /* No data available and yielding is enabled, so yield in ring3. */ 656 656 #ifndef IN_RING3 657 *pRC = VINF_IOM_ HC_IOPORT_READ;657 *pRC = VINF_IOM_R3_IOPORT_READ; 658 658 break; 659 659 #else … … 665 665 if (s->lsr & (UART_LSR_BI|UART_LSR_OE)) { 666 666 #ifndef IN_RING3 667 *pRC = VINF_IOM_ HC_IOPORT_READ;667 *pRC = VINF_IOM_R3_IOPORT_READ; 668 668 #else 669 669 s->lsr &= ~(UART_LSR_BI|UART_LSR_OE); … … 684 684 if (s->msr & UART_MSR_ANY_DELTA) { 685 685 #ifndef IN_RING3 686 *pRC = VINF_IOM_ HC_IOPORT_READ;686 *pRC = VINF_IOM_R3_IOPORT_READ; 687 687 #else 688 688 s->msr &= 0xF0;
Note:
See TracChangeset
for help on using the changeset viewer.