[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/71] target/avr: Constify VMState in machine.c
From: |
Richard Henderson |
Subject: |
[PATCH 05/71] target/avr: Constify VMState in machine.c |
Date: |
Sun, 5 Nov 2023 22:57:21 -0800 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/avr/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/avr/machine.c b/target/avr/machine.c
index 16f7a3e031..4402862fb9 100644
--- a/target/avr/machine.c
+++ b/target/avr/machine.c
@@ -100,7 +100,7 @@ const VMStateDescription vms_avr_cpu = {
.name = "cpu",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(env.pc_w, AVRCPU),
VMSTATE_UINT32(env.sp, AVRCPU),
VMSTATE_UINT32(env.skip, AVRCPU),
--
2.34.1
- [PATCH 00/71] *: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 01/71] migration: Make VMStateDescription.subsections const, Richard Henderson, 2023/11/06
- [PATCH 03/71] targt/arm: Constify hvf/hvf.c, Richard Henderson, 2023/11/06
- [PATCH 04/71] target/alpha: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 02/71] target/arm: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 05/71] target/avr: Constify VMState in machine.c,
Richard Henderson <=
- [PATCH 07/71] target/hppa: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 08/71] target/i386: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 09/71] target/loongarch: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 06/71] target/cris: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 11/71] target/microblaze: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 12/71] target/mips: Constify VMState in machine.c, Richard Henderson, 2023/11/06