mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 19:38:16 +00:00
target-m68k: set PAGE_BITS to 12 for m68k
Backports commit 2b04e85a3401e13cb19b1de197e6c211eaadca4c from qemu
This commit is contained in:
parent
292fc83c86
commit
3d59fe56b3
1 changed files with 5 additions and 2 deletions
|
@ -252,8 +252,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
|
||||
|
|
Loading…
Reference in a new issue