diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-18 01:13:09 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-18 01:13:09 +0000 |
commit | 34ae7b51f54a5d58d30e31a92f8ece02973de50b (patch) | |
tree | f425df361d7f8992723368ba914408e7209c5285 /target-mips/op.c | |
parent | f96f4c9d720bced5ee0f57c9dc36cf17347155b9 (diff) |
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
Diffstat (limited to 'target-mips/op.c')
-rw-r--r-- | target-mips/op.c | 10 |
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) { |