projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265d349
)
mipsel disas fix
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 Dec 2005 01:10:04 +0000
(
01:10
+0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 Dec 2005 01:10:04 +0000
(
01:10
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1705
c046a42c
-6fe2-441c-8c8c-
71466251a162
disas.c
patch
|
blob
|
history
diff --git
a/disas.c
b/disas.c
index 78a72675df39ff5b5906a116b40757bc6b5731e3..f8281b512b90b80fd132edc14bc06bf014c6ca8f 100644
(file)
--- a/
disas.c
+++ b/
disas.c
@@
-187,7
+187,11
@@
void target_disas(FILE *out, target_ulong code, target_ulong size, int flags)
#endif
print_insn = print_insn_ppc;
#elif defined(TARGET_MIPS)
+#ifdef TARGET_WORDS_BIGENDIAN
print_insn = print_insn_big_mips;
+#else
+ print_insn = print_insn_little_mips;
+#endif
#elif defined(TARGET_M68K)
print_insn = print_insn_m68k;
#else
@@
-381,7
+385,11
@@
void monitor_disas(CPUState *env,
#endif
print_insn = print_insn_ppc;
#elif defined(TARGET_MIPS)
+#ifdef TARGET_WORDS_BIGENDIAN
print_insn = print_insn_big_mips;
+#else
+ print_insn = print_insn_little_mips;
+#endif
#elif defined(TARGET_M68K)
print_insn = print_insn_m68k;
#else