]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Split out target/arch/cpu-param.h
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 22 Mar 2019 18:51:19 +0000 (11:51 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:34 +0000 (07:03 -0700)
commit74433bf083b0766aba81534f92de13194f23ff3e
tree9c0c63e1d1874a47395bda07f61f160fb611c0e4
parent79e4208506651660b866f536616a5f8f3175f909
tcg: Split out target/arch/cpu-param.h

For all targets, into this new file move TARGET_LONG_BITS,
TARGET_PAGE_BITS, TARGET_PHYS_ADDR_SPACE_BITS,
TARGET_VIRT_ADDR_SPACE_BITS, and NB_MMU_MODES.

Include this new file from exec/cpu-defs.h.

This now removes the somewhat odd requirement that target/arch/cpu.h
defines TARGET_LONG_BITS before including exec/cpu-defs.h, so push the
bulk of the includes within target/arch/cpu.h to the top.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
45 files changed:
include/exec/cpu-defs.h
target/alpha/cpu-param.h [new file with mode: 0644]
target/alpha/cpu.h
target/arm/cpu-param.h [new file with mode: 0644]
target/arm/cpu.h
target/cris/cpu-param.h [new file with mode: 0644]
target/cris/cpu.h
target/hppa/cpu-param.h [new file with mode: 0644]
target/hppa/cpu.h
target/i386/cpu-param.h [new file with mode: 0644]
target/i386/cpu.h
target/lm32/cpu-param.h [new file with mode: 0644]
target/lm32/cpu.h
target/m68k/cpu-param.h [new file with mode: 0644]
target/m68k/cpu.h
target/microblaze/cpu-param.h [new file with mode: 0644]
target/microblaze/cpu.h
target/mips/cpu-param.h [new file with mode: 0644]
target/mips/cpu.h
target/mips/mips-defs.h
target/moxie/cpu-param.h [new file with mode: 0644]
target/moxie/cpu.h
target/nios2/cpu-param.h [new file with mode: 0644]
target/nios2/cpu.h
target/openrisc/cpu-param.h [new file with mode: 0644]
target/openrisc/cpu.h
target/ppc/cpu-param.h [new file with mode: 0644]
target/ppc/cpu.h
target/riscv/cpu-param.h [new file with mode: 0644]
target/riscv/cpu.h
target/s390x/cpu-param.h [new file with mode: 0644]
target/s390x/cpu.h
target/sh4/cpu-param.h [new file with mode: 0644]
target/sh4/cpu.h
target/sparc/cpu-param.h [new file with mode: 0644]
target/sparc/cpu.h
target/tilegx/cpu-param.h [new file with mode: 0644]
target/tilegx/cpu.h
target/tricore/cpu-param.h [new file with mode: 0644]
target/tricore/cpu.h
target/tricore/tricore-defs.h
target/unicore32/cpu-param.h [new file with mode: 0644]
target/unicore32/cpu.h
target/xtensa/cpu-param.h [new file with mode: 0644]
target/xtensa/cpu.h