projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef25cd
)
target-m68k: set PAGE_BITS to 12 for m68k
author
Laurent Vivier
<laurent@vivier.eu>
Sat, 16 Jan 2016 23:08:15 +0000
(
00:08
+0100)
committer
Laurent Vivier
<laurent@vivier.eu>
Tue, 25 Oct 2016 18:54:47 +0000
(20:54 +0200)
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-m68k/cpu.h
patch
|
blob
|
history
diff --git
a/target-m68k/cpu.h
b/target-m68k/cpu.h
index
133852a
..
fa1d027
100644
(file)
--- 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