aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips/op.c')
-rw-r--r--target-mips/op.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/target-mips/op.c b/target-mips/op.c
index 1188e82846..e119765b3c 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)
{