target-m68k: set PAGE_BITS to 12 for m68k
Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
7ef25cdd6c
commit
2b04e85a34
@ -255,8 +255,11 @@ void m68k_cpu_list(FILE *f, fprintf_function cpu_fprintf);
|
|||||||
void register_m68k_insns (CPUM68KState *env);
|
void register_m68k_insns (CPUM68KState *env);
|
||||||
|
|
||||||
#ifdef CONFIG_USER_ONLY
|
#ifdef CONFIG_USER_ONLY
|
||||||
/* Linux uses 8k pages. */
|
/* Coldfire Linux uses 8k pages
|
||||||
#define TARGET_PAGE_BITS 13
|
* and m68k linux uses 4k pages
|
||||||
|
* use the smaller one
|
||||||
|
*/
|
||||||
|
#define TARGET_PAGE_BITS 12
|
||||||
#else
|
#else
|
||||||
/* Smallest TLB entry size is 1k. */
|
/* Smallest TLB entry size is 1k. */
|
||||||
#define TARGET_PAGE_BITS 10
|
#define TARGET_PAGE_BITS 10
|
||||||
|
Loading…
Reference in New Issue
Block a user