Changeset 34875 in vbox
- Timestamp:
- Dec 9, 2010 11:15:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r34851 r34875 6911 6911 int rc; 6912 6912 6913 if ( uVersion != AHCI_SAVED_STATE_VERSION 6914 && uVersion != AHCI_SAVED_STATE_VERSION_PRE_ATAPI 6915 && uVersion != AHCI_SAVED_STATE_VERSION_VBOX_30) 6913 if ( uVersion > AHCI_SAVED_STATE_VERSION 6914 || uVersion < AHCI_SAVED_STATE_VERSION_VBOX_30) 6916 6915 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; 6917 6916 … … 7034 7033 SSMR3Skip(pSSM, AHCI_NR_COMMAND_SLOTS * sizeof(uint8_t)); /* no active data here */ 7035 7034 7036 if (uVersion < =AHCI_SAVED_STATE_VERSION)7035 if (uVersion < AHCI_SAVED_STATE_VERSION) 7037 7036 { 7038 7037 /* The old positions in the FIFO, not required. */ … … 7043 7042 SSMR3GetU32(pSSM, (uint32_t *)&pThis->ahciPort[i].u32TasksFinished); 7044 7043 SSMR3GetU32(pSSM, (uint32_t *)&pThis->ahciPort[i].u32QueuedTasksFinished); 7045 SSMR3GetU32(pSSM, (uint32_t *)&pThis->ahciPort[i].u32CurrentCommandSlot); 7044 if (uVersion >= AHCI_SAVED_STATE_VERSION) 7045 SSMR3GetU32(pSSM, (uint32_t *)&pThis->ahciPort[i].u32CurrentCommandSlot); 7046 7046 7047 7047 if (uVersion > AHCI_SAVED_STATE_VERSION_PRE_ATAPI)
Note:
See TracChangeset
for help on using the changeset viewer.