Changeset 7693 in vbox
- Timestamp:
- Apr 2, 2008 8:36:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r7688 r7693 88 88 #define PCNET_PNPMMIO_SIZE 0x20 89 89 90 #define PCNET_SAVEDSTATE_VERSION 890 #define PCNET_SAVEDSTATE_VERSION 9 91 91 92 92 #define BCR_MAX_RAP 50 … … 868 868 /** 869 869 * Initialize the shared memory for the private guest interface. 870 * @note Changing this layout will break SSM for guests using the private guest interface! 870 871 */ 871 872 static void pcnetInitSharedMemory(PCNetState *pData) … … 4090 4091 SSMR3PutS32(pSSMHandle, pData->iISR); 4091 4092 SSMR3PutU32(pSSMHandle, pData->u32Lnkst); 4093 SSMR3PutBool(pSSMHandle, pData->fPrivIfEnabled); 4092 4094 SSMR3PutGCPhys32(pSSMHandle, pData->GCRDRA); 4093 4095 SSMR3PutGCPhys32(pSSMHandle, pData->GCTDRA); … … 4153 4155 SSMR3GetS32(pSSMHandle, &pData->iISR); 4154 4156 SSMR3GetU32(pSSMHandle, &pData->u32Lnkst); 4157 if ( SSM_VERSION_MAJOR(u32Version) > 0 4158 || SSM_VERSION_MINOR(u32Version) >= 9) 4159 { 4160 SSMR3GetBool(pSSMHandle, &pData->fPrivIfEnabled); 4161 if (pData->fPrivIfEnabled) 4162 LogRel(("PCNet#%d: Enabling private interface\n", PCNET_INST_NR)); 4163 } 4155 4164 SSMR3GetGCPhys32(pSSMHandle, &pData->GCRDRA); 4156 4165 SSMR3GetGCPhys32(pSSMHandle, &pData->GCTDRA);
Note:
See TracChangeset
for help on using the changeset viewer.