Changeset 12308 in vbox
- Timestamp:
- Sep 9, 2008 3:59:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r12303 r12308 69 69 #endif 70 70 71 72 ////#define VBOX_REM_FLUSH_ALL_TBS73 71 74 72 /******************************************************************************* … … 1360 1358 void remR3ProtectCode(CPUState *env, RTGCPTR GCPtr) 1361 1359 { 1362 #if ndef VBOX_REM_FLUSH_ALL_TBS1360 #ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC 1363 1361 Assert(env->pVM->rem.s.fInREM); 1364 1362 if ( (env->cr[0] & X86_CR0_PG) /* paging must be enabled */ … … 1380 1378 { 1381 1379 Assert(env->pVM->rem.s.fInREM); 1382 #if ndef VBOX_REM_FLUSH_ALL_TBS1380 #ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC 1383 1381 if ( (env->cr[0] & X86_CR0_PG) /* paging must be enabled */ 1384 1382 && !(env->state & CPU_EMULATE_SINGLE_INSTR) /* ignore during single instruction execution */ … … 1612 1610 pVM->rem.s.fInStateSync = true; 1613 1611 1614 #ifdef VBOX_REM_FLUSH_ALL_TBS1615 1612 if (fFlushTBs) 1616 1613 { … … 1618 1615 tb_flush(&pVM->rem.s.Env); 1619 1616 } 1620 #endif1621 1617 1622 1618 /* … … 2602 2598 VM_ASSERT_EMT(pVM); 2603 2599 2604 #if ndef VBOX_REM_FLUSH_ALL_TBS2600 #ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC 2605 2601 /* 2606 2602 * Get the physical page address.
Note:
See TracChangeset
for help on using the changeset viewer.