[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/67] target/i386: Constify all Property
From: |
Richard Henderson |
Subject: |
[PULL 04/67] target/i386: Constify all Property |
Date: |
Sun, 15 Dec 2024 13:04:30 -0600 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/i386/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 305f2a41cf..5253399459 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -5384,7 +5384,7 @@ static X86CPUVersion x86_cpu_model_resolve_version(const
X86CPUModel *model)
return v;
}
-static Property max_x86_cpu_properties[] = {
+static const Property max_x86_cpu_properties[] = {
DEFINE_PROP_BOOL("migratable", X86CPU, migratable, true),
DEFINE_PROP_BOOL("host-cache-info", X86CPU, cache_info_passthrough, false),
DEFINE_PROP_END_OF_LIST()
@@ -8407,7 +8407,7 @@ void x86_update_hflags(CPUX86State *env)
env->hflags = hflags;
}
-static Property x86_cpu_properties[] = {
+static const Property x86_cpu_properties[] = {
#ifdef CONFIG_USER_ONLY
/* apic_id = 0 by default for *-user, see commit 9886e834 */
DEFINE_PROP_UINT32("apic-id", X86CPU, apic_id, 0),
--
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 <=
- [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, 2024/12/15
- [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