VirtualBox

Changeset 6189 in vbox


Ignore:
Timestamp:
Dec 27, 2007 3:36:00 PM (17 years ago)
Author:
vboxsync
Message:

Bump SSM version and fix compilation

File:
1 edited

Legend:

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

    r6188 r6189  
    6464#endif /* VBOX_SERIAL_PCI */
    6565
    66 #define SERIAL_SAVED_STATE_VERSION  2
     66#define SERIAL_SAVED_STATE_VERSION  3
    6767
    6868#define UART_LCR_DLAB               0x80        /* Divisor latch access bit */
     
    378378            ret |= (s->mcr & 0x01) << 5;
    379379        } else {
     380#ifndef IN_RING3
     381        *pRC = VINF_IOM_HC_IOPORT_READ;
     382#else
    380383            ret = s->msr;
    381384            /* Reset delta bits. */
     
    383386            s->msr_changed = false;
    384387            serial_update_irq(s);
     388#endif
    385389        }
    386390        break;
     
    560564    SSMR3PutS32(pSSMHandle, pData->last_break_enable);
    561565    SSMR3PutU32(pSSMHandle, pData->base);
     566    SSMR3PutBool(pSSMHandle, pData->msr_changed);
    562567    return SSMR3PutU32(pSSMHandle, ~0); /* sanity/terminator */
    563568}
     
    597602    SSMR3GetS32(pSSMHandle, &pData->last_break_enable);
    598603    SSMR3GetU32(pSSMHandle, &pData->base);
     604    SSMR3GetBool(pSSMHandle, &pData->msr_changed);
    599605
    600606    rc = SSMR3GetU32(pSSMHandle, &u32);
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