aboutsummaryrefslogtreecommitdiffstats
path: root/softmmu_outside_jit.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-06-08 00:48:19 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-06-08 00:48:20 -0700
commit60ead539cfabd48f7d054e315803f2ae7650609e (patch)
tree7e0851da5038a2579bc1270e6d3d1c899703ced7 /softmmu_outside_jit.h
parentcf9ba9a06006592bf47ce5837188986172e1a925 (diff)
parent741dc13597ac064e6a48bb2a6ec069cbc1cd0dbb (diff)
downloadexternal_qemu-60ead539cfabd48f7d054e315803f2ae7650609e.zip
external_qemu-60ead539cfabd48f7d054e315803f2ae7650609e.tar.gz
external_qemu-60ead539cfabd48f7d054e315803f2ae7650609e.tar.bz2
Merge "[MIPS] Add Goldfish target support"
Diffstat (limited to 'softmmu_outside_jit.h')
-rw-r--r--softmmu_outside_jit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/softmmu_outside_jit.h b/softmmu_outside_jit.h
index 07ba4c7..21ead05 100644
--- a/softmmu_outside_jit.h
+++ b/softmmu_outside_jit.h
@@ -49,7 +49,11 @@ void REGPARM __stq_outside_jit(target_ulong addr, uint64_t val, int mmu_idx);
// =============================================================================
// Generate ld/stx_user
// =============================================================================
+#if defined(TARGET_MIPS)
+#define MEMSUFFIX MMU_MODE2_SUFFIX
+#else
#define MEMSUFFIX MMU_MODE1_SUFFIX
+#endif
#define ACCESS_TYPE 1
#define DATA_SIZE 1