VirtualBox

Changeset 10586 in vbox


Ignore:
Timestamp:
Jul 14, 2008 10:03:59 AM (16 years ago)
Author:
vboxsync
Message:

Moved the VT-x checks to the non-64 bit case.

File:
1 edited

Legend:

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

    r10465 r10586  
    649649        if (pCtx->idtr.pIdt == 0 || pCtx->idtr.cbIdt == 0 || pCtx->tr == 0)
    650650            return false;
    651     }
    652 
    653     /* The guest is about to complete the switch to protected mode. Wait a bit longer. */
    654     /* Windows XP; switch to protected mode; all selectors are marked not present in the
    655      * hidden registers (possible recompiler bug) */
    656     if (pCtx->csHid.Attr.n.u1Present == 0)
    657         return false;
    658     if (pCtx->ssHid.Attr.n.u1Present == 0)
    659         return false;
     651
     652        /* The guest is about to complete the switch to protected mode. Wait a bit longer. */
     653        /* Windows XP; switch to protected mode; all selectors are marked not present in the
     654         * hidden registers (possible recompiler bug) */
     655        if (pCtx->csHid.Attr.n.u1Present == 0)
     656            return false;
     657        if (pCtx->ssHid.Attr.n.u1Present == 0)
     658            return false;
     659    }
    660660
    661661    if (pVM->hwaccm.s.vmx.fEnabled)
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