summaryrefslogtreecommitdiff
path: root/target-sparc/op_helper.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-26 18:05:23 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-26 18:05:23 +0000
commitb158a785d2f58469b5c78c2484a7c1b22e9dbaaa (patch)
tree2b1289a16096031bb490ce4ae2d2aa7a903f5e69 /target-sparc/op_helper.c
parentd81fd7220e02c7ddb708fc16e26adfb36f6c430d (diff)
Implement UA2005 hypervisor traps
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5327 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r--target-sparc/op_helper.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index 64b56e3864..47b4b87aae 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -55,20 +55,6 @@ void raise_exception(int tt)
cpu_loop_exit();
}
-void helper_trap(target_ulong nb_trap)
-{
- env->exception_index = TT_TRAP + (nb_trap & 0x7f);
- cpu_loop_exit();
-}
-
-void helper_trapcc(target_ulong nb_trap, target_ulong do_trap)
-{
- if (do_trap) {
- env->exception_index = TT_TRAP + (nb_trap & 0x7f);
- cpu_loop_exit();
- }
-}
-
static inline void set_cwp(int new_cwp)
{
cpu_set_cwp(env, new_cwp);