From: Laurent Vivier Date: Sat, 16 Jan 2016 23:08:15 +0000 (+0100) Subject: target-m68k: set PAGE_BITS to 12 for m68k X-Git-Tag: TizenStudio_2.0_p2.3.2~9^2~14^2~5^2~111^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b04e85a3401e13cb19b1de197e6c211eaadca4c;p=sdk%2Femulator%2Fqemu.git target-m68k: set PAGE_BITS to 12 for m68k Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 133852a..fa1d027 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -255,8 +255,11 @@ void m68k_cpu_list(FILE *f, fprintf_function cpu_fprintf); void register_m68k_insns (CPUM68KState *env); #ifdef CONFIG_USER_ONLY -/* Linux uses 8k pages. */ -#define TARGET_PAGE_BITS 13 +/* Coldfire Linux uses 8k pages + * and m68k linux uses 4k pages + * use the smaller one + */ +#define TARGET_PAGE_BITS 12 #else /* Smallest TLB entry size is 1k. */ #define TARGET_PAGE_BITS 10