Changeset 90318 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Jul 23, 2021 4:26:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r90309 r90318 36 36 *********************************************************************************************************************************/ 37 37 /** The current IO APIC saved state version. */ 38 #define IOAPIC_SAVED_STATE_VERSION 2 38 #define IOAPIC_SAVED_STATE_VERSION 3 39 /** The current IO APIC saved state version. */ 40 #define IOAPIC_SAVED_STATE_VERSION_NO_FLIPFLOP_MAP 2 39 41 /** The saved state version used by VirtualBox 5.0 and 40 42 * earlier. */ … … 1433 1435 pHlp->pfnSSMPutU64(pSSM, pThis->au64RedirTable[idxRte]); 1434 1436 1437 for (uint8_t idx = 0; idx < RT_ELEMENTS(pThis->bmFlipFlop); idx++) 1438 pHlp->pfnSSMPutU64(pSSM, pThis->bmFlipFlop[idx]); 1439 1435 1440 return VINF_SUCCESS; 1436 1441 } … … 1451 1456 /* Weed out invalid versions. */ 1452 1457 if ( uVersion != IOAPIC_SAVED_STATE_VERSION 1458 && uVersion != IOAPIC_SAVED_STATE_VERSION_NO_FLIPFLOP_MAP 1453 1459 && uVersion != IOAPIC_SAVED_STATE_VERSION_VBOX_50) 1454 1460 { … … 1457 1463 } 1458 1464 1459 if (uVersion == IOAPIC_SAVED_STATE_VERSION)1465 if (uVersion >= IOAPIC_SAVED_STATE_VERSION_NO_FLIPFLOP_MAP) 1460 1466 pHlp->pfnSSMGetU32(pSSM, &pThis->uIrr); 1461 1467 … … 1464 1470 for (uint8_t idxRte = 0; idxRte < RT_ELEMENTS(pThis->au64RedirTable); idxRte++) 1465 1471 pHlp->pfnSSMGetU64(pSSM, &pThis->au64RedirTable[idxRte]); 1472 1473 if (uVersion > IOAPIC_SAVED_STATE_VERSION_NO_FLIPFLOP_MAP) 1474 for (uint8_t idx = 0; idx < RT_ELEMENTS(pThis->bmFlipFlop); idx++) 1475 pHlp->pfnSSMGetU64(pSSM, &pThis->bmFlipFlop[idx]); 1466 1476 1467 1477 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.