Changeset 42325 in vbox for trunk/src/VBox
- Timestamp:
- Jul 23, 2012 2:23:53 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79398
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r42207 r42325 6 6 7 7 /* 8 * Copyright (C) 2006-201 1Oracle Corporation8 * Copyright (C) 2006-2012 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 6723 6723 * @param pSSM The handle to the saved state. 6724 6724 */ 6725 int ahciR3LoadLegacyEmulationState(PSSMHANDLE pSSM)6725 static int ahciR3LoadLegacyEmulationState(PSSMHANDLE pSSM) 6726 6726 { 6727 6727 int rc; … … 6735 6735 LogFlow(("LoadOldSavedStates u32Version = %d\n", u32Version)); 6736 6736 6737 if ( u32Version != ATA_CTL_SAVED_STATE_VERSION6737 if ( u32Version != ATA_CTL_SAVED_STATE_VERSION 6738 6738 && u32Version != ATA_CTL_SAVED_STATE_VERSION_WITHOUT_FULL_SENSE 6739 6739 && u32Version != ATA_CTL_SAVED_STATE_VERSION_WITHOUT_EVENT_STATUS) … … 6750 6750 6751 6751 if (u32Version > ATA_CTL_SAVED_STATE_VERSION_WITHOUT_FULL_SENSE) 6752 {6753 6752 SSMR3Skip(pSSM, 64); 6754 }6755 6753 else 6756 {6757 6754 SSMR3Skip(pSSM, 2); 6758 }6759 6755 /** @todo triple-check this hack after passthrough is working */ 6760 6756 SSMR3Skip(pSSM, 1); … … 6800 6796 || uVersion < AHCI_SAVED_STATE_VERSION_VBOX_30) 6801 6797 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; 6798 6799 /* Deal with the priod after removing the saved IDE bits where the saved 6800 state version remained unchanged. */ 6801 if ( uVersion == AHCI_SAVED_STATE_VERSION_IDE_EMULATION 6802 && SSMR3HandleRevision(pSSM) >= 79045 6803 && SSMR3HandleRevision(pSSM) < 79201) 6804 uVersion++; 6802 6805 6803 6806 /* Verify config. */ … … 7548 7551 if ( pAhciPort->pDrvBlockAsync 7549 7552 && !pAhciPort->fATAPI) 7550 {7551 7553 pAhciPort->fAsyncInterface = true; 7552 }7553 7554 else 7554 7555 {
Note:
See TracChangeset
for help on using the changeset viewer.