aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/op_helper.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-01 08:18:52 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-01 08:18:52 +0000
commit2d8ee4e7193806d1c7f6bf2f06af118f9bc2a633 (patch)
treea7f5d80f274fe64dd0411aef1d7db4a6fec9d4e4 /target-alpha/op_helper.c
parentad8efe4b6e27f0ea87d6510c11ae11377eade93d (diff)
Fix Sparc host compile problem reported by Shaddy Baddah
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3750 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-alpha/op_helper.c')
-rw-r--r--target-alpha/op_helper.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c
index 9a3009c4d4..072499e306 100644
--- a/target-alpha/op_helper.c
+++ b/target-alpha/op_helper.c
@@ -1072,6 +1072,23 @@ void helper_mtpr (int iprn)
}
#endif
+#if defined(HOST_SPARC) || defined(HOST_SPARC64)
+void helper_reset_FT0 (void)
+{
+ FT0 = 0;
+}
+
+void helper_reset_FT1 (void)
+{
+ FT1 = 0;
+}
+
+void helper_reset_FT2 (void)
+{
+ FT2 = 0;
+}
+#endif
+
/*****************************************************************************/
/* Softmmu support */
#if !defined (CONFIG_USER_ONLY)