Revision dcfd14b3 cpu-exec.c

b/cpu-exec.c
704 704
    return ret;
705 705
}
706 706

  
707
/* must only be called from the generated code as an exception can be
708
   generated */
709
void tb_invalidate_page_range(target_ulong start, target_ulong end)
710
{
711
    /* XXX: cannot enable it yet because it yields to MMU exception
712
       where NIP != read address on PowerPC */
713
#if 0
714
    target_ulong phys_addr;
715
    phys_addr = get_phys_addr_code(env, start);
716
    tb_invalidate_phys_page_range(phys_addr, phys_addr + end - start, 0);
717
#endif
718
}
719

  
720 707
#if defined(TARGET_I386) && defined(CONFIG_USER_ONLY)
721 708

  
722 709
void cpu_x86_load_seg(CPUX86State *s, int seg_reg, int selector)

Also available in: Unified diff