aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/op_helper.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-10-30 21:23:39 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-10-30 21:23:39 +0000
commit24741ef3de1de0e5dca6ebf621d405f2ac0919af (patch)
tree5a3223441fd4f8fa55e19fdbed8ccd8ef5148041 /target-sparc/op_helper.c
parent74c33bed31839bbff861877194a5a39f8000c284 (diff)
downloadqemu-24741ef3de1de0e5dca6ebf621d405f2ac0919af.zip
qemu-24741ef3de1de0e5dca6ebf621d405f2ac0919af.tar.gz
qemu-24741ef3de1de0e5dca6ebf621d405f2ac0919af.tar.bz2
avoid using physical accesses in user emulation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1592 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r--target-sparc/op_helper.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index e931f9a..695bc21 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -221,6 +221,15 @@ void do_fcmpd_fcc3 (void)
#undef FS
#endif
+#if defined(CONFIG_USER_ONLY)
+void helper_ld_asi(int asi, int size, int sign)
+{
+}
+
+void helper_st_asi(int asi, int size, int sign)
+{
+}
+#else
#ifndef TARGET_SPARC64
void helper_ld_asi(int asi, int size, int sign)
{
@@ -727,8 +736,8 @@ void helper_st_asi(int asi, int size, int sign)
return;
}
}
-
#endif
+#endif /* !CONFIG_USER_ONLY */
#ifndef TARGET_SPARC64
void helper_rett()