Changeset 22793 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 5, 2009 1:29:24 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51986
- Location:
- trunk/src/VBox/Main
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r22784 r22793 1057 1057 * @param uVersion Console unit version. 1058 1058 * Should match sSSMConsoleVer. 1059 * @param uP hase The data phase.1059 * @param uPass The data pass. 1060 1060 * 1061 1061 * @note Should locks the Console object for writing, if necessary. … … 1063 1063 //static 1064 1064 DECLCALLBACK(int) 1065 Console::loadStateFileExec(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uP hase)1065 Console::loadStateFileExec(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass) 1066 1066 { 1067 1067 LogFlowFunc (("\n")); … … 1069 1069 if (SSM_VERSION_MAJOR_CHANGED(uVersion, sSSMConsoleVer)) 1070 1070 return VERR_VERSION_MISMATCH; 1071 Assert(uP hase == SSM_PHASE_FINAL); NOREF(uPhase);1071 Assert(uPass == SSM_PASS_FINAL); NOREF(uPass); 1072 1072 1073 1073 Console *that = static_cast<Console *>(pvUser); -
trunk/src/VBox/Main/DisplayImpl.cpp
r22480 r22793 130 130 131 131 DECLCALLBACK(int) 132 Display::displaySSMLoad(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uP hase)132 Display::displaySSMLoad(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass) 133 133 { 134 134 Display *that = static_cast<Display*>(pvUser); … … 136 136 if (uVersion != sSSMDisplayVer) 137 137 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; 138 Assert(uPass == SSM_PASS_FINAL); NOREF(uPass); 138 139 139 140 uint32_t cMonitors; -
trunk/src/VBox/Main/VMMDevInterface.cpp
r22480 r22793 602 602 * @param pSSM SSM operation handle. 603 603 * @param uVersion Data layout version. 604 * @param uP hase The data phase.605 */ 606 static DECLCALLBACK(int) iface_hgcmLoad(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uP hase)604 * @param uPass The data pass. 605 */ 606 static DECLCALLBACK(int) iface_hgcmLoad(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) 607 607 { 608 608 LogFlowFunc(("Enter\n")); … … 610 610 if (uVersion != HGCM_SSM_VERSION) 611 611 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; 612 Assert(uP hase == SSM_PHASE_FINAL); NOREF(uPhase);612 Assert(uPass == SSM_PASS_FINAL); NOREF(uPass); 613 613 614 614 return HGCMHostLoadState (pSSM); -
trunk/src/VBox/Main/include/ConsoleImpl.h
r22560 r22793 501 501 502 502 static DECLCALLBACK(void) saveStateFileExec (PSSMHANDLE pSSM, void *pvUser); 503 static DECLCALLBACK(int) loadStateFileExec (PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uP hase);503 static DECLCALLBACK(int) loadStateFileExec (PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass); 504 504 505 505 #ifdef VBOX_WITH_GUEST_PROPS -
trunk/src/VBox/Main/include/DisplayImpl.h
r22480 r22793 292 292 293 293 static DECLCALLBACK(void) displaySSMSave(PSSMHANDLE pSSM, void *pvUser); 294 static DECLCALLBACK(int) displaySSMLoad(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uP hase);294 static DECLCALLBACK(int) displaySSMLoad(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass); 295 295 296 296 const ComObjPtr<Console, ComWeakRef> mParent;
Note:
See TracChangeset
for help on using the changeset viewer.