aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-23 00:43:28 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-23 00:43:28 +0000
commite397ee3382a34c65b0fb93514c3eef5c31715d3c (patch)
treecd0afd9013624ab292d6a54998e4b1e2cf727390 /target-mips/op_helper.c
parent51789c410beb34423b1188a6b6e069fe8b68aebe (diff)
Fix enough FPU/R2 support to get 24Kf going.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2528 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r--target-mips/op_helper.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index a262ea6684..8ab7bf57d4 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@ -56,10 +56,15 @@ void do_restore_state (void *pc_ptr)
cpu_restore_state (tb, env, pc, NULL);
}
-void do_raise_exception_direct (uint32_t exception)
+void do_raise_exception_direct_err (uint32_t exception, int error_code)
{
do_restore_state (GETPC ());
- do_raise_exception_err (exception, 0);
+ do_raise_exception_err (exception, error_code);
+}
+
+void do_raise_exception_direct (uint32_t exception)
+{
+ do_raise_exception_direct_err (exception, 0);
}
#define MEMSUFFIX _raw