VirtualBox

Changeset 9276 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
May 31, 2008 9:03:02 PM (17 years ago)
Author:
vboxsync
Message:

Prevent an fInRem assertion in the tlb flushing code when A20 is change in VT-x/AMD-V mode. Added a todo in PGMR3PhysSetA20() because we're not doing the right thing for AMD-V (and VT-x).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r9219 r9276  
    23582358    LogFlow(("REMR3A20Set: fEnable=%d\n", fEnable));
    23592359    VM_ASSERT_EMT(pVM);
     2360
     2361    bool fSaved = pVM->rem.s.fIgnoreAll; /* just in case. */
     2362    pVM->rem.s.fIgnoreAll = fSaved || !pVM->rem.s.fInREM;
     2363
    23602364    cpu_x86_set_a20(&pVM->rem.s.Env, fEnable);
     2365
     2366    pVM->rem.s.fIgnoreAll = fSaved;
    23612367}
    23622368
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