mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/sparc: Constify all Property and PropertyInfo
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a1eeba514f
commit
3834cc6f8f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue