Work around the lack of proper handling for self-modifying code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2827 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-05-18 01:13:09 +00:00
parent f96f4c9d72
commit 34ae7b51f5
2 changed files with 30 additions and 2 deletions

View file

@ -1001,6 +1001,16 @@ void op_jnz_T2 (void)
RETURN();
}
void op_flush_icache_range(void) {
CALL_FROM_TB2(tlb_flush_page, env, T0 + T1);
RETURN();
}
void op_flush_icache_all(void) {
CALL_FROM_TB1(tb_flush, env);
RETURN();
}
/* CP0 functions */
void op_mfc0_index (void)
{