xref: /openbmc/qemu/target/alpha/cpu-param.h (revision 0c4e9931)
1 /*
2  * Alpha cpu parameters for qemu.
3  *
4  * Copyright (c) 2007 Jocelyn Mayer
5  * SPDX-License-Identifier: LGPL-2.0+
6  */
7 
8 #ifndef ALPHA_CPU_PARAM_H
9 #define ALPHA_CPU_PARAM_H 1
10 
11 #define TARGET_LONG_BITS 64
12 #define TARGET_PAGE_BITS 13
13 
14 /* ??? EV4 has 34 phys addr bits, EV5 has 40, EV6 has 44.  */
15 #define TARGET_PHYS_ADDR_SPACE_BITS  44
16 #define TARGET_VIRT_ADDR_SPACE_BITS  (30 + TARGET_PAGE_BITS)
17 
18 #define NB_MMU_MODES 3
19 
20 #endif
21