VirtualBox

Changeset 12798 in vbox for trunk/src


Ignore:
Timestamp:
Sep 29, 2008 1:31:41 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37143
Message:

Reset the real-mode emulation state correctly.
Reenabled real-mode emulation in VT-x.

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

Legend:

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

    r12789 r12798  
    736736
    737737    pVM->hwaccm.s.Event.fPending = false;
     738
     739    /* Reset state information for real-mode emulation in VT-x. */
     740    pVM->hwaccm.s.vmx.RealMode.Event.fPending = false;
     741    memset(&pVM->hwaccm.s.vmx.RealMode, 0, sizeof(pVM->hwaccm.s.vmx.RealMode));
     742    pVM->hwaccm.s.vmx.enmCurrGuestMode = PGMMODE_REAL;
    738743}
    739744
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r12796 r12798  
    4040#endif
    4141
    42 //#define HWACCM_VMX_EMULATE_REALMODE
     42#define HWACCM_VMX_EMULATE_REALMODE
    4343
    4444__BEGIN_DECLS
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