>From c65168b123032ef2ab10c90254e4ac8bc6cb0120 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Mon, 1 Mar 2010 02:51:10 -0800 Subject: [PATCH 4/4] Define MMAP_SHIFT for ColdFire ColdFire has MMAP_SHIFT equal to TARGET_PAGE_BITS. Signed-off-by: Maxim Kuvyrkov --- target-m68k/cpu.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 6bafc40..6f652c5 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -210,6 +210,7 @@ void register_m68k_insns (CPUM68KState *env); #ifdef CONFIG_USER_ONLY /* Linux uses 8k pages. */ #define TARGET_PAGE_BITS 13 +#define MMAP_SHIFT TARGET_PAGE_BITS #else /* Smallest TLB entry size is 1k. */ #define TARGET_PAGE_BITS 10 -- 1.6.2.4