summaryrefslogtreecommitdiffstats
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorths2007-03-23 01:43:28 +0100
committerths2007-03-23 01:43:28 +0100
commite397ee3382a34c65b0fb93514c3eef5c31715d3c (patch)
treecd0afd9013624ab292d6a54998e4b1e2cf727390 /target-mips/op_helper.c
parentPowerPC improvments: (diff)
downloadqemu-e397ee3382a34c65b0fb93514c3eef5c31715d3c.tar.gz
qemu-e397ee3382a34c65b0fb93514c3eef5c31715d3c.tar.xz
qemu-e397ee3382a34c65b0fb93514c3eef5c31715d3c.zip
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