projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1eeba5
)
target/sparc: Constify all Property and PropertyInfo
author
Richard Henderson
<richard.henderson@linaro.org>
Fri, 13 Dec 2024 14:50:36 +0000
(14:50 +0000)
committer
Richard Henderson
<richard.henderson@linaro.org>
Sun, 15 Dec 2024 18:54:15 +0000
(12:54 -0600)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/sparc/cpu.c
patch
|
blob
|
history
diff --git
a/target/sparc/cpu.c
b/target/sparc/cpu.c
index 284df950e07bd166fb70c8770208715a71856064..8f494c286aef535ac2a30296877d2de55efb6713 100644
(file)
--- 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