VirtualBox

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


Ignore:
Timestamp:
Apr 3, 2008 11:26:16 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29250
Message:

Enabled X86_CR0_WP=0 code execution with VT-x & AMD-V

File:
1 edited

Legend:

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

    r7502 r7718  
    405405                pVM->hwaccm.s.vmx.fEnabled = true;
    406406                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SEP);
     407#if 0 /* not yet */
     408                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
     409#endif
    407410                LogRel(("HWACCM: VMX enabled!\n"));
    408411            }
     
    436439                hwaccmr3DisableRawMode(pVM);
    437440                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SEP);
     441#if 0 /* not yet */
     442                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
     443#endif
    438444
    439445                pVM->fHWACCMEnabled = true;
     
    569575        return false;
    570576    if (pCtx->ssHid.Attr.n.u1Present == 0)
    571         return false;
    572 
    573     /** @todo if we remove this check, then Windows XP install fails during the textmode phase */
    574     if (!(pCtx->cr0 & X86_CR0_WRITE_PROTECT))
    575577        return false;
    576578#endif
Note: See TracChangeset for help on using the changeset viewer.

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