Richard Henderson | 74433bf | 2019-03-22 11:51:19 -0700 | [diff] [blame] | 1 | /* |
| 2 | * m68k cpu parameters for qemu. |
| 3 | * |
| 4 | * Copyright (c) 2005-2007 CodeSourcery |
Philippe Mathieu-Daudé | b14d064 | 2024-09-11 17:12:04 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: LGPL-2.0-or-later |
Richard Henderson | 74433bf | 2019-03-22 11:51:19 -0700 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef M68K_CPU_PARAM_H |
Markus Armbruster | 4f31b54 | 2022-05-06 15:49:10 +0200 | [diff] [blame] | 9 | #define M68K_CPU_PARAM_H |
Richard Henderson | 74433bf | 2019-03-22 11:51:19 -0700 | [diff] [blame] | 10 | |
| 11 | #define TARGET_LONG_BITS 32 |
| 12 | /* |
| 13 | * Coldfire Linux uses 8k pages |
| 14 | * and m68k linux uses 4k pages |
| 15 | * use the smallest one |
| 16 | */ |
| 17 | #define TARGET_PAGE_BITS 12 |
| 18 | #define TARGET_PHYS_ADDR_SPACE_BITS 32 |
| 19 | #define TARGET_VIRT_ADDR_SPACE_BITS 32 |
Richard Henderson | 74433bf | 2019-03-22 11:51:19 -0700 | [diff] [blame] | 20 | |
| 21 | #endif |