Changeset 49247 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Oct 22, 2013 8:36:41 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CSAM.cpp
r48936 r49247 604 604 * Restore CSAM structure 605 605 */ 606 #if 0607 rc = SSMR3GetMem(pSSM, &csamInfo, sizeof(csamInfo));608 #else609 606 RT_ZERO(csamInfo); 610 rc = SSMR3GetStructEx(pSSM, &csamInfo, sizeof(csamInfo), SSMSTRUCT_FLAGS_MEM_BAND_AID, &g_aCsamFields[0], NULL); 611 #endif 607 rc = SSMR3GetStructEx(pSSM, &csamInfo, sizeof(csamInfo), SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aCsamFields[0], NULL); 612 608 AssertRCReturn(rc, rc); 613 609 … … 625 621 626 622 /* Restore pgdir bitmap (we'll change the pointers next). */ 627 #if 0628 rc = SSMR3GetMem(pSSM, pVM->csam.s.pPDBitmapHC, CSAM_PGDIRBMP_CHUNKS*sizeof(RTHCPTR));629 #else630 623 rc = SSMR3GetStructEx(pSSM, pVM->csam.s.pPDBitmapHC, sizeof(uint8_t *) * CSAM_PGDIRBMP_CHUNKS, 631 SSMSTRUCT_FLAGS_MEM_BAND_AID, &g_aCsamPDBitmapArray[0], NULL); 632 #endif 624 SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aCsamPDBitmapArray[0], NULL); 633 625 AssertRCReturn(rc, rc); 634 626 … … 669 661 PCSAMPAGE pPage; 670 662 671 #if 0672 rc = SSMR3GetMem(pSSM, &page, sizeof(page));673 #else674 663 RT_ZERO(page); 675 rc = SSMR3GetStructEx(pSSM, &page, sizeof(page), SSMSTRUCT_FLAGS_MEM_BAND_AID, &g_aCsamPageRecFields[0], NULL); 676 #endif 664 rc = SSMR3GetStructEx(pSSM, &page, sizeof(page), SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aCsamPageRecFields[0], NULL); 677 665 AssertRCReturn(rc, rc); 678 666 -
trunk/src/VBox/VMM/VMMR3/PATMSSM.cpp
r45620 r49247 733 733 */ 734 734 RT_ZERO(patmInfo); 735 rc = SSMR3GetStructEx(pSSM, &patmInfo, sizeof(patmInfo), SSMSTRUCT_FLAGS_MEM_BAND_AID , &g_aPatmFields[0], NULL);735 rc = SSMR3GetStructEx(pSSM, &patmInfo, sizeof(patmInfo), SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aPatmFields[0], NULL); 736 736 AssertRCReturn(rc, rc); 737 737 … … 787 787 */ 788 788 RT_BZERO(pVM->patm.s.pGCStateHC, sizeof(PATMGCSTATE)); 789 rc = SSMR3GetStructEx(pSSM, pVM->patm.s.pGCStateHC, sizeof(PATMGCSTATE), SSMSTRUCT_FLAGS_MEM_BAND_AID , &g_aPatmGCStateFields[0], NULL);789 rc = SSMR3GetStructEx(pSSM, pVM->patm.s.pGCStateHC, sizeof(PATMGCSTATE), SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aPatmGCStateFields[0], NULL); 790 790 AssertRCReturn(rc, rc); 791 791 … … 805 805 806 806 RT_ZERO(patch); 807 rc = SSMR3GetStructEx(pSSM, &patch, sizeof(patch), SSMSTRUCT_FLAGS_MEM_BAND_AID , &g_aPatmPatchRecFields[0], NULL);807 rc = SSMR3GetStructEx(pSSM, &patch, sizeof(patch), SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aPatmPatchRecFields[0], NULL); 808 808 AssertRCReturn(rc, rc); 809 809 … … 854 854 855 855 RT_ZERO(rec); 856 rc = SSMR3GetStructEx(pSSM, &rec, sizeof(rec), SSMSTRUCT_FLAGS_MEM_BAND_AID , &g_aPatmRelocRec[0], NULL);856 rc = SSMR3GetStructEx(pSSM, &rec, sizeof(rec), SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aPatmRelocRec[0], NULL); 857 857 AssertRCReturn(rc, rc); 858 858 … … 902 902 { 903 903 RT_ZERO(rec); 904 rc = SSMR3GetStructEx(pSSM, &rec, sizeof(rec), SSMSTRUCT_FLAGS_MEM_BAND_AID , &g_aPatmRecPatchToGuest[0], NULL);904 rc = SSMR3GetStructEx(pSSM, &rec, sizeof(rec), SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED, &g_aPatmRecPatchToGuest[0], NULL); 905 905 AssertRCReturn(rc, rc); 906 906
Note:
See TracChangeset
for help on using the changeset viewer.