VirtualBox

Changeset 1538 in vbox for trunk/src


Ignore:
Timestamp:
Mar 16, 2007 5:02:52 PM (18 years ago)
Author:
vboxsync
Message:

save u16CSR0LastSeenByGuest in SSM info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r1377 r1538  
    114114#define PCNET_PNPMMIO_SIZE              0x20
    115115
    116 #define PCNET_SAVEDSTATE_VERSION        5
     116#define PCNET_SAVEDSTATE_VERSION        6
    117117
    118118#define BCR_MAX_RAP                     50
     
    162162    uint16_t                            aBCR[BCR_MAX_RAP];
    163163    uint16_t                            aMII[MII_MAX_REG];
    164     uint16_t                            u16CSR0LastSeenByGuest; /** @todo SSM!! */
     164    uint16_t                            u16CSR0LastSeenByGuest;
    165165    uint16_t                            Alignment0[HC_ARCH_BITS == 32 ? 2 : 4];
    166166    /** Last time we polled the queues */
     
    36783678    SSMR3PutMem(pSSMHandle, pData->aBCR, sizeof(pData->aBCR));
    36793679    SSMR3PutMem(pSSMHandle, pData->aMII, sizeof(pData->aMII));
     3680    SSMR3PutU16(pSSMHandle, pData->u16CSR0LastSeenByGuest);
    36803681    SSMR3PutU64(pSSMHandle, pData->u64LastPoll);
    36813682    SSMR3PutMem(pSSMHandle, &pData->MacConfigured, sizeof(pData->MacConfigured));
     
    37153716    SSMR3GetMem(pSSMHandle, &pData->aBCR, sizeof(pData->aBCR));
    37163717    SSMR3GetMem(pSSMHandle, &pData->aMII, sizeof(pData->aMII));
     3718    SSMR3GetU16(pSSMHandle, &pData->u16CSR0LastSeenByGuest);
    37173719    SSMR3GetU64(pSSMHandle, &pData->u64LastPoll);
    37183720    SSMR3GetMem(pSSMHandle, &Mac, sizeof(Mac));
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