Commit dc5d0b3d1b2e0fdb48fcf4033058bc351580959d

Authored by bellard
1 parent 7496f526

disable buggy tb_invalidate_page_range()


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@968 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
cpu-exec.c
... ... @@ -602,9 +602,13 @@ int cpu_exec(CPUState *env1)
602 602 generated */
603 603 void tb_invalidate_page_range(target_ulong start, target_ulong end)
604 604 {
  605 + /* XXX: cannot enable it yet because it yields to MMU exception
  606 + where NIP != read address on PowerPC */
  607 +#if 0
605 608 target_ulong phys_addr;
606 609 phys_addr = get_phys_addr_code(env, start);
607 610 tb_invalidate_phys_page_range(phys_addr, phys_addr + end - start, 0);
  611 +#endif
608 612 }
609 613  
610 614 #if defined(TARGET_I386) && defined(CONFIG_USER_ONLY)
... ...