[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 23/24] target/m68k: Make vmstate variables static
From: |
Richard Henderson |
Subject: |
[PATCH v5 23/24] target/m68k: Make vmstate variables static |
Date: |
Wed, 7 May 2025 14:12:58 -0700 |
These need not be exported beyond cpu.c.
Fix a typo in vmstate_fpu.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/m68k/cpu.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c
index 866d32fc9f..fe53572542 100644
--- a/target/m68k/cpu.c
+++ b/target/m68k/cpu.c
@@ -478,7 +478,7 @@ static int fpu_post_load(void *opaque, int version)
return 0;
}
-const VMStateDescription vmmstate_fpu = {
+static const VMStateDescription vmstate_fpu = {
.name = "cpu/fpu",
.version_id = 1,
.minimum_version_id = 1,
@@ -500,7 +500,7 @@ static bool cf_spregs_needed(void *opaque)
return m68k_feature(&s->env, M68K_FEATURE_CF_ISA_A);
}
-const VMStateDescription vmstate_cf_spregs = {
+static const VMStateDescription vmstate_cf_spregs = {
.name = "cpu/cf_spregs",
.version_id = 1,
.minimum_version_id = 1,
@@ -522,7 +522,7 @@ static bool cpu_68040_mmu_needed(void *opaque)
return m68k_feature(&s->env, M68K_FEATURE_M68040);
}
-const VMStateDescription vmstate_68040_mmu = {
+static const VMStateDescription vmstate_68040_mmu = {
.name = "cpu/68040_mmu",
.version_id = 1,
.minimum_version_id = 1,
@@ -547,7 +547,7 @@ static bool cpu_68040_spregs_needed(void *opaque)
return m68k_feature(&s->env, M68K_FEATURE_M68040);
}
-const VMStateDescription vmstate_68040_spregs = {
+static const VMStateDescription vmstate_68040_spregs = {
.name = "cpu/68040_spregs",
.version_id = 1,
.minimum_version_id = 1,
@@ -583,7 +583,7 @@ static const VMStateDescription vmstate_m68k_cpu = {
VMSTATE_END_OF_LIST()
},
.subsections = (const VMStateDescription * const []) {
- &vmmstate_fpu,
+ &vmstate_fpu,
&vmstate_cf_spregs,
&vmstate_68040_mmu,
&vmstate_68040_spregs,
--
2.43.0
- [PATCH v5 07/24] target/m68k: Merge gen_ea into SRC_EA and DEST_EA, (continued)
- [PATCH v5 07/24] target/m68k: Merge gen_ea into SRC_EA and DEST_EA, Richard Henderson, 2025/05/07
- [PATCH v5 08/24] target/m68k: Use g_assert_not_reached in gen_lea_mode and gen_ea_mode, Richard Henderson, 2025/05/07
- [PATCH v5 09/24] target/m68k: Use OS_UNSIZED in LEA, PEA, JMP, Richard Henderson, 2025/05/07
- [PATCH v5 13/24] target/m68k: Remove env argument to gen_lea_mode, Richard Henderson, 2025/05/07
- [PATCH v5 11/24] target/m68k: Split gen_ea_mode for load/store, Richard Henderson, 2025/05/07
- [PATCH v5 14/24] target/m68k: Remove env argument to gen_load_mode, Richard Henderson, 2025/05/07
- [PATCH v5 18/24] target/m68k: Move gen_addr_fault into gen_{load, store}_mode_fp, Richard Henderson, 2025/05/07
- [PATCH v5 20/24] target/m68k: Merge gen_store_fp, gen_store_mode_fp, Richard Henderson, 2025/05/07
- [PATCH v5 21/24] target/m68k: Implement packed decimal real loads and stores, Richard Henderson, 2025/05/07
- [PATCH v5 15/24] target/m68k: Remove env argument to gen_store_mode, Richard Henderson, 2025/05/07
- [PATCH v5 23/24] target/m68k: Make vmstate variables static,
Richard Henderson <=
- [PATCH v5 19/24] target/m68k: Merge gen_load_fp, gen_load_mode_fp, Richard Henderson, 2025/05/07
- [PATCH v5 17/24] target/m68k: Split gen_ea_mode_fp for load/store, Richard Henderson, 2025/05/07
- [PATCH v5 24/24] target/m68k: Implement FPIAR, Richard Henderson, 2025/05/07
- [PATCH v5 16/24] target/m68k: Remove env argument to gen_ea_mode_fp, Richard Henderson, 2025/05/07
- [PATCH v5 22/24] tests/tcg/m68k: Add packed decimal tests, Richard Henderson, 2025/05/07
- Re: [PATCH v5 00/24] target/m68k: fpu improvements, Helge Deller, 2025/05/07