[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/67] target/sparc: Constify all Property and PropertyInfo
From: |
Richard Henderson |
Subject: |
[PULL 09/67] target/sparc: Constify all Property and PropertyInfo |
Date: |
Sun, 15 Dec 2024 13:04:35 -0600 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/sparc/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c
index 284df950e0..8f494c286a 100644
--- a/target/sparc/cpu.c
+++ b/target/sparc/cpu.c
@@ -874,14 +874,14 @@ static void sparc_set_nwindows(Object *obj, Visitor *v,
const char *name,
cpu->env.def.nwindows = value;
}
-static PropertyInfo qdev_prop_nwindows = {
+static const PropertyInfo qdev_prop_nwindows = {
.name = "int",
.get = sparc_get_nwindows,
.set = sparc_set_nwindows,
};
/* This must match feature_name[]. */
-static Property sparc_cpu_properties[] = {
+static const Property sparc_cpu_properties[] = {
DEFINE_PROP_BIT("float128", SPARCCPU, env.def.features,
CPU_FEATURE_BIT_FLOAT128, false),
#ifdef TARGET_SPARC64
--
2.43.0
- [PULL 00/67] Constify almost all Property, Richard Henderson, 2024/12/15
- [PULL 01/67] target/arm: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 04/67] target/i386: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 02/67] target/avr: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 03/67] target/hexagon: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 05/67] target/microblaze: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 06/67] target/mips: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 07/67] target/riscv: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 09/67] target/sparc: Constify all Property and PropertyInfo,
Richard Henderson <=
- [PULL 08/67] target/s390x: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 11/67] hw/9pfs: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 12/67] hw/acpi: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 10/67] cpu-target: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 13/67] hw/adc: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 20/67] hw/core: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 15/67] hw/audio: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 14/67] hw/arm: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 18/67] hw/block: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 16/67] hw/avr: Constify all Property, Richard Henderson, 2024/12/15