]> git.proxmox.com Git - mirror_qemu.git/blame - target/sparc/cpu-param.h
Merge tag 'pull-tcg-20230505' of https://gitlab.com/rth7680/qemu into staging
[mirror_qemu.git] / target / sparc / cpu-param.h
CommitLineData
74433bf0
RH
1/*
2 * Sparc cpu parameters for qemu.
3 *
4 * SPDX-License-Identifier: LGPL-2.0+
5 */
6
7#ifndef SPARC_CPU_PARAM_H
4f31b54b 8#define SPARC_CPU_PARAM_H
74433bf0
RH
9
10#ifdef TARGET_SPARC64
11# define TARGET_LONG_BITS 64
12# define TARGET_PAGE_BITS 13 /* 8k */
13# define TARGET_PHYS_ADDR_SPACE_BITS 41
14# ifdef TARGET_ABI32
15# define TARGET_VIRT_ADDR_SPACE_BITS 32
16# else
17# define TARGET_VIRT_ADDR_SPACE_BITS 44
18# endif
74433bf0
RH
19#else
20# define TARGET_LONG_BITS 32
21# define TARGET_PAGE_BITS 12 /* 4k */
22# define TARGET_PHYS_ADDR_SPACE_BITS 36
23# define TARGET_VIRT_ADDR_SPACE_BITS 32
74433bf0
RH
24#endif
25
26#endif