[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/71] target/sparc: Constify all Property and PropertyInfo
From: |
Richard Henderson |
Subject: |
[PATCH 10/71] target/sparc: Constify all Property and PropertyInfo |
Date: |
Fri, 13 Dec 2024 13:06:44 -0600 |
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
- Re: [PATCH 04/71] target/i386: Constify all Property, (continued)
- [PULL 3/4] include/exec: Introduce fpst alias in helper-head.h.inc, Richard Henderson, 2024/12/13
- [PATCH 05/71] target/microblaze: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 06/71] target/mips: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 07/71] target/ppc: Remove empty property list, Richard Henderson, 2024/12/13
- [PATCH 08/71] target/riscv: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 09/71] target/s390x: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 11/71] cpu-target: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 10/71] target/sparc: Constify all Property and PropertyInfo,
Richard Henderson <=
- [PATCH 13/71] hw/acpi: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 12/71] hw/9pfs: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 14/71] hw/adc: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 18/71] hw/block/xen-block: Unexport PropertyInfo, Richard Henderson, 2024/12/13
- [PATCH 17/71] hw/avr: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 15/71] hw/arm: Constify all Property, Richard Henderson, 2024/12/13