VirtualBox

Changeset 2188 in vbox for trunk/src/VBox/VMM/HWACCM.cpp


Ignore:
Timestamp:
Apr 18, 2007 4:24:23 PM (18 years ago)
Author:
vboxsync
Message:

disabled svm usage in all cpu modes for now

File:
1 edited

Legend:

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

    r2132 r2188  
    455455    Assert(pVM->fHWACCMEnabled);
    456456
     457#if 0
    457458    /* AMD SVM supports real & protected mode with or without paging. */
    458459    if (pVM->hwaccm.s.svm.fEnabled)
     
    461462        return true;
    462463    }
     464#endif
    463465
    464466    /* @todo we can support real-mode by using v86 and protected mode without paging with identity mapped pages.
     
    513515        return true;
    514516    }
    515 
     517    else
     518    if (pVM->hwaccm.s.svm.fEnabled)
     519    {
     520        pVM->hwaccm.s.fActive = true;
     521        return true;
     522    }
     523   
    516524    return false;
    517525}
     
    588596        return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION;
    589597    }
    590 
    591598    rc = SSMR3GetU32(pSSM, &pVM->hwaccm.s.Event.fPending);
    592599    AssertRCReturn(rc, rc);
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