aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu-exec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 58468859dc..aa713c9a63 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -602,9 +602,13 @@ int cpu_exec(CPUState *env1)
generated */
void tb_invalidate_page_range(target_ulong start, target_ulong end)
{
+ /* XXX: cannot enable it yet because it yields to MMU exception
+ where NIP != read address on PowerPC */
+#if 0
target_ulong phys_addr;
phys_addr = get_phys_addr_code(env, start);
tb_invalidate_phys_page_range(phys_addr, phys_addr + end - start, 0);
+#endif
}
#if defined(TARGET_I386) && defined(CONFIG_USER_ONLY)