aboutsummaryrefslogtreecommitdiff
path: root/target/riscv/cpu-param.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-01-31 09:53:57 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-02-08 12:41:33 -0800
commit175646f64178ba5bfebd6312ac2acd4e1a0e9451 (patch)
tree20cc597d9d9d860785017a5eb2004e8bd288b0e4 /target/riscv/cpu-param.h
parent537600df6141640d411cda5deea742081d2f9962 (diff)
downloadqemu-175646f64178ba5bfebd6312ac2acd4e1a0e9451.zip
qemu-175646f64178ba5bfebd6312ac2acd4e1a0e9451.tar.gz
qemu-175646f64178ba5bfebd6312ac2acd4e1a0e9451.tar.bz2
target/*: Remove TARGET_LONG_BITS from cpu-param.h
This is now handled by the configs/targets/*.mak fragment. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/riscv/cpu-param.h')
-rw-r--r--target/riscv/cpu-param.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/riscv/cpu-param.h b/target/riscv/cpu-param.h
index 2568619..fba30e9 100644
--- a/target/riscv/cpu-param.h
+++ b/target/riscv/cpu-param.h
@@ -9,11 +9,9 @@
#define RISCV_CPU_PARAM_H
#if defined(TARGET_RISCV64)
-# define TARGET_LONG_BITS 64
# define TARGET_PHYS_ADDR_SPACE_BITS 56 /* 44-bit PPN */
# define TARGET_VIRT_ADDR_SPACE_BITS 48 /* sv48 */
#elif defined(TARGET_RISCV32)
-# define TARGET_LONG_BITS 32
# define TARGET_PHYS_ADDR_SPACE_BITS 34 /* 22-bit PPN */
# define TARGET_VIRT_ADDR_SPACE_BITS 32 /* sv32 */
#endif