aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/translate.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 18:45:55 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 18:45:55 +0000
commitea2b542a4c8fbf50a00c7b431b9fd2c0b832991f (patch)
treed98ed99a9cd142c3790daec8eedc1e36a4e88ec9 /target-sh4/translate.c
parent939ef5938fa15b996d3801fa53ef5be2f5cf3495 (diff)
SH4 MMU improvements
(Shin-ichiro KAWASAKI) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4396 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/translate.c')
-rw-r--r--target-sh4/translate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index bb6786a03b..3564a67613 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -256,7 +256,11 @@ void _decode_opc(DisasContext * ctx)
gen_op_clrt();
return;
case 0x0038: /* ldtlb */
+#if defined(CONFIG_USER_ONLY)
assert(0); /* XXXXX */
+#else
+ gen_op_ldtlb();
+#endif
return;
case 0x002b: /* rte */
CHECK_NOT_DELAY_SLOT gen_op_rte();