VirtualBox

Changeset 12308 in vbox


Ignore:
Timestamp:
Sep 9, 2008 3:59:08 PM (16 years ago)
Author:
vboxsync
Message:

Activated flushing.

File:
1 edited

Legend:

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

    r12303 r12308  
    6969#endif
    7070
    71 
    72 ////#define VBOX_REM_FLUSH_ALL_TBS
    7371
    7472/*******************************************************************************
     
    13601358void remR3ProtectCode(CPUState *env, RTGCPTR GCPtr)
    13611359{
    1362 #ifndef VBOX_REM_FLUSH_ALL_TBS
     1360#ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC
    13631361    Assert(env->pVM->rem.s.fInREM);
    13641362    if (     (env->cr[0] & X86_CR0_PG)                      /* paging must be enabled */
     
    13801378{
    13811379    Assert(env->pVM->rem.s.fInREM);
    1382 #ifndef VBOX_REM_FLUSH_ALL_TBS
     1380#ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC
    13831381    if (     (env->cr[0] & X86_CR0_PG)                      /* paging must be enabled */
    13841382        &&  !(env->state & CPU_EMULATE_SINGLE_INSTR)        /* ignore during single instruction execution */
     
    16121610    pVM->rem.s.fInStateSync = true;
    16131611
    1614 #ifdef VBOX_REM_FLUSH_ALL_TBS
    16151612    if (fFlushTBs)
    16161613    {
     
    16181615        tb_flush(&pVM->rem.s.Env);
    16191616    }
    1620 #endif
    16211617
    16221618    /*
     
    26022598    VM_ASSERT_EMT(pVM);
    26032599
    2604 #ifndef VBOX_REM_FLUSH_ALL_TBS
     2600#ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC
    26052601    /*
    26062602     * Get the physical page address.
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