xref: /openbmc/qemu/target/microblaze/cpu-param.h (revision f7160f32)
1 /*
2  * MicroBlaze cpu parameters for qemu.
3  *
4  * Copyright (c) 2009 Edgar E. Iglesias
5  * SPDX-License-Identifier: LGPL-2.0+
6  */
7 
8 #ifndef MICROBLAZE_CPU_PARAM_H
9 #define MICROBLAZE_CPU_PARAM_H 1
10 
11 #define TARGET_LONG_BITS 64
12 #define TARGET_PHYS_ADDR_SPACE_BITS 64
13 #define TARGET_VIRT_ADDR_SPACE_BITS 64
14 /* FIXME: MB uses variable pages down to 1K but linux only uses 4k.  */
15 #define TARGET_PAGE_BITS 12
16 #define NB_MMU_MODES 3
17 
18 #endif
19