VirtualBox

Changeset 32295 in vbox for trunk


Ignore:
Timestamp:
Sep 7, 2010 3:48:34 PM (14 years ago)
Author:
vboxsync
Message:

Deal with MMIO2 pages as well (FTM)

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/FTM.cpp

    r32294 r32295  
    917917            {
    918918                /* Timeout; prepare to fallover. */
    919                 LogRel(("FTM: TIMEOUT (%RX64 vs %RX64): activate standby VM!\n", u64TimeNow, pVM->ftm.s.standby.u64LastHeartbeat + pVM->ftm.s.uInterval * 2));
     919                LogRel(("FTSync: TIMEOUT (%RX64 vs %RX64 ms): activate standby VM!\n", u64TimeNow, pVM->ftm.s.standby.u64LastHeartbeat + pVM->ftm.s.uInterval * 2));
    920920
    921921                pVM->ftm.s.fActivateStandby = true;
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r32213 r32295  
    989989            for (unsigned iPage = 0; iPage < cPages; iPage++)
    990990            {
    991                 PPGMPAGE pPage = &pRam->aPages[iPage];
    992                 if (RT_LIKELY(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM))
     991                PPGMPAGE    pPage = &pRam->aPages[iPage];
     992                PGMPAGETYPE enmPageType = (PGMPAGETYPE)PGM_PAGE_GET_TYPE(pPage);
     993
     994                if (    RT_LIKELY(enmPageType == PGMPAGETYPE_RAM)
     995                    ||  enmPageType == PGMPAGETYPE_MMIO2)
    993996                {
    994997                    /*
     
    10691072            for (unsigned iPage = 0; iPage < cPages; iPage++)
    10701073            {
    1071                 PPGMPAGE pPage = &pRam->aPages[iPage];
    1072                 if (RT_LIKELY(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_RAM))
     1074                PPGMPAGE    pPage = &pRam->aPages[iPage];
     1075                PGMPAGETYPE enmPageType = (PGMPAGETYPE)PGM_PAGE_GET_TYPE(pPage);
     1076
     1077                if (    RT_LIKELY(enmPageType == PGMPAGETYPE_RAM)
     1078                    ||  enmPageType == PGMPAGETYPE_MMIO2)
    10731079                {
    10741080                    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette