aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-25 22:28:25 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-25 22:28:25 +0000
commitbb7ec0437a647c6734f65719f861d68a5281351d (patch)
tree08d7288dcf56b29b2b8f640d84e6f16fdf66dade /target-cris
parentbdf46ea256cfc12221b64399c4e896139990e2c1 (diff)
m68k mmap2 fixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4106 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index 44d5ed7d61..ac042d5d21 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -213,6 +213,7 @@ void register_cris_insns (CPUCRISState *env);
/* CRIS uses 8k pages. */
#define TARGET_PAGE_BITS 13
+#define MMAP_SHIFT TARGET_PAGE_BITS
#define CPUState CPUCRISState
#define cpu_init cpu_cris_init