From 34ae7b51f54a5d58d30e31a92f8ece02973de50b Mon Sep 17 00:00:00 2001 From: ths Date: Fri, 18 May 2007 01:13:09 +0000 Subject: 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 --- target-mips/op.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target-mips/op.c') diff --git a/target-mips/op.c b/target-mips/op.c index 1188e82..e119765 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -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) { -- cgit v1.1