VirtualBox

Changeset 40280 in vbox for trunk/src/VBox/Devices/Serial


Ignore:
Timestamp:
Feb 28, 2012 7:47:00 PM (13 years ago)
Author:
vboxsync
Message:

Corrected a bunch of HC and GC uses in status codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DevSerial.cpp

    r37466 r40280  
    460460#ifndef IN_RING3
    461461    NOREF(s);
    462     return VINF_IOM_HC_IOPORT_WRITE;
     462    return VINF_IOM_R3_IOPORT_WRITE;
    463463#else
    464464    switch(addr) {
     
    598598        } else {
    599599#ifndef IN_RING3
    600             *pRC = VINF_IOM_HC_IOPORT_READ;
     600            *pRC = VINF_IOM_R3_IOPORT_READ;
    601601#else
    602602            if (s->fcr & UART_FCR_FE) {
     
    633633    case 2:
    634634#ifndef IN_RING3
    635         *pRC = VINF_IOM_HC_IOPORT_READ;
     635        *pRC = VINF_IOM_R3_IOPORT_READ;
    636636#else
    637637        ret = s->iir;
     
    655655            /* No data available and yielding is enabled, so yield in ring3. */
    656656#ifndef IN_RING3
    657             *pRC = VINF_IOM_HC_IOPORT_READ;
     657            *pRC = VINF_IOM_R3_IOPORT_READ;
    658658            break;
    659659#else
     
    665665        if (s->lsr & (UART_LSR_BI|UART_LSR_OE)) {
    666666#ifndef IN_RING3
    667             *pRC = VINF_IOM_HC_IOPORT_READ;
     667            *pRC = VINF_IOM_R3_IOPORT_READ;
    668668#else
    669669            s->lsr &= ~(UART_LSR_BI|UART_LSR_OE);
     
    684684            if (s->msr & UART_MSR_ANY_DELTA) {
    685685#ifndef IN_RING3
    686                 *pRC = VINF_IOM_HC_IOPORT_READ;
     686                *pRC = VINF_IOM_R3_IOPORT_READ;
    687687#else
    688688                s->msr &= 0xF0;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette