summaryrefslogtreecommitdiff
path: root/qemu/target-alpha/op_helper.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1>2007-12-01 08:18:51 +0000
committerblueswir1 <blueswir1>2007-12-01 08:18:51 +0000
commit46003a79a063a28ab2f5da40242ce5dcf195a611 (patch)
tree4e9dd12c439b15f58966d3018496feaa64fbdcf2 /qemu/target-alpha/op_helper.c
parent7258279b5942170b587f185e8bb42f1a6cf8dfdc (diff)
Fix Sparc host compile problem reported by Shaddy Baddah
Diffstat (limited to 'qemu/target-alpha/op_helper.c')
-rw-r--r--qemu/target-alpha/op_helper.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/qemu/target-alpha/op_helper.c b/qemu/target-alpha/op_helper.c
index 9a3009c4..072499e3 100644
--- a/qemu/target-alpha/op_helper.c
+++ b/qemu/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)