xref: /openbmc/qemu/target/m68k/cpu-param.h (revision a53b931645183bd0c15dd19ae0708fc3c81ecf1d)
174433bf0SRichard Henderson /*
274433bf0SRichard Henderson  * m68k cpu parameters for qemu.
374433bf0SRichard Henderson  *
474433bf0SRichard Henderson  * Copyright (c) 2005-2007 CodeSourcery
5*b14d0649SPhilippe Mathieu-Daudé  * SPDX-License-Identifier: LGPL-2.0-or-later
674433bf0SRichard Henderson  */
774433bf0SRichard Henderson 
874433bf0SRichard Henderson #ifndef M68K_CPU_PARAM_H
94f31b54bSMarkus Armbruster #define M68K_CPU_PARAM_H
1074433bf0SRichard Henderson 
1174433bf0SRichard Henderson #define TARGET_LONG_BITS 32
1274433bf0SRichard Henderson /*
1374433bf0SRichard Henderson  * Coldfire Linux uses 8k pages
1474433bf0SRichard Henderson  * and m68k linux uses 4k pages
1574433bf0SRichard Henderson  * use the smallest one
1674433bf0SRichard Henderson  */
1774433bf0SRichard Henderson #define TARGET_PAGE_BITS 12
1874433bf0SRichard Henderson #define TARGET_PHYS_ADDR_SPACE_BITS 32
1974433bf0SRichard Henderson #define TARGET_VIRT_ADDR_SPACE_BITS 32
2074433bf0SRichard Henderson 
2174433bf0SRichard Henderson #endif
22