diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-06 09:45:40 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-07 12:13:27 +0100 |
commit | 27a6e78ef00c778d0d6d563f90c07deb5176e296 (patch) | |
tree | 1efe54f3ec7a8056f0f29c0bd7162c69bae91fd4 /gitdm.config | |
parent | 2d8efe9666dc4297838d9e592d3524285cfb49d6 (diff) | |
download | qemu-27a6e78ef00c778d0d6d563f90c07deb5176e296.zip qemu-27a6e78ef00c778d0d6d563f90c07deb5176e296.tar.gz qemu-27a6e78ef00c778d0d6d563f90c07deb5176e296.tar.bz2 |
target/riscv: Move TYPE_RISCV_CPU_BASE definition to 'cpu.h'
TYPE_RISCV_CPU_BASE depends on the TARGET_RISCV32/TARGET_RISCV64
definitions which are target specific. Such target specific
definition taints "cpu-qom.h".
Since "cpu-qom.h" must be target agnostic, remove its target
specific definition uses by moving TYPE_RISCV_CPU_BASE to
"target/riscv/cpu.h".
"target/riscv/cpu-qom.h" is now fully target agnostic.
Add a comment clarifying that in the header.
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231013140116.255-12-philmd@linaro.org>
Diffstat (limited to 'gitdm.config')
0 files changed, 0 insertions, 0 deletions