mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00

By directly using TCGCPUOps::guest_default_memory_order, we don't need the TCG_GUEST_DEFAULT_MO definition anymore. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
26 lines
543 B
C
26 lines
543 B
C
/*
|
|
* Sparc cpu parameters for qemu.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef SPARC_CPU_PARAM_H
|
|
#define SPARC_CPU_PARAM_H
|
|
|
|
#ifdef TARGET_SPARC64
|
|
# define TARGET_PAGE_BITS 13 /* 8k */
|
|
# define TARGET_PHYS_ADDR_SPACE_BITS 41
|
|
# ifdef TARGET_ABI32
|
|
# define TARGET_VIRT_ADDR_SPACE_BITS 32
|
|
# else
|
|
# define TARGET_VIRT_ADDR_SPACE_BITS 44
|
|
# endif
|
|
#else
|
|
# define TARGET_PAGE_BITS 12 /* 4k */
|
|
# define TARGET_PHYS_ADDR_SPACE_BITS 36
|
|
# define TARGET_VIRT_ADDR_SPACE_BITS 32
|
|
#endif
|
|
|
|
#define TARGET_INSN_START_EXTRA_WORDS 1
|
|
|
|
#endif
|