xref: /openbmc/qemu/target/s390x/cpu-param.h (revision 2e1cacfb)
1 /*
2  * S/390 cpu parameters for qemu.
3  *
4  * Copyright (c) 2009 Ulrich Hecht
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  */
7 
8 #ifndef S390_CPU_PARAM_H
9 #define S390_CPU_PARAM_H
10 
11 #define TARGET_LONG_BITS 64
12 #define TARGET_PAGE_BITS 12
13 #define TARGET_PHYS_ADDR_SPACE_BITS 64
14 #define TARGET_VIRT_ADDR_SPACE_BITS 64
15 
16 /*
17  * The z/Architecture has a strong memory model with some
18  * store-after-load re-ordering.
19  */
20 #define TCG_GUEST_DEFAULT_MO      (TCG_MO_ALL & ~TCG_MO_ST_LD)
21 
22 #endif
23