[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 3/8] vmstate: define vmstate_info_uinttl
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH v2 3/8] vmstate: define vmstate_info_uinttl |
Date: |
Mon, 11 Jan 2016 12:40:23 +0000 |
From: Juan Quintela <address@hidden>
We are going to define arrays of this type, so we need the integer type.
Signed-off-by: Juan Quintela <address@hidden>
[PMM: updated to apply on current QEMU; renamed to 'uinttl'
rather than 'uinttls' to match other vmstate naming]
Signed-off-by: Peter Maydell <address@hidden>
---
include/hw/hw.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/hw/hw.h b/include/hw/hw.h
index c78adae..cd3d410 100644
--- a/include/hw/hw.h
+++ b/include/hw/hw.h
@@ -49,6 +49,7 @@ void qemu_unregister_reset(QEMUResetHandler *func, void
*opaque);
VMSTATE_UINT64_EQUAL_V(_f, _s, _v)
#define VMSTATE_UINTTL_ARRAY_V(_f, _s, _n, _v) \
VMSTATE_UINT64_ARRAY_V(_f, _s, _n, _v)
+#define vmstate_info_uinttl vmstate_info_uint64
#else
#define VMSTATE_UINTTL_V(_f, _s, _v) \
VMSTATE_UINT32_V(_f, _s, _v)
@@ -56,6 +57,7 @@ void qemu_unregister_reset(QEMUResetHandler *func, void
*opaque);
VMSTATE_UINT32_EQUAL_V(_f, _s, _v)
#define VMSTATE_UINTTL_ARRAY_V(_f, _s, _n, _v) \
VMSTATE_UINT32_ARRAY_V(_f, _s, _n, _v)
+#define vmstate_info_uinttl vmstate_info_uint32
#endif
#define VMSTATE_UINTTL(_f, _s) \
VMSTATE_UINTTL_V(_f, _s, 0)
--
1.9.1
- [Qemu-devel] [PATCH v2 0/8] target-sparc: Update to use VMStateDescription, Peter Maydell, 2016/01/11
- [Qemu-devel] [PATCH v2 7/8] target-sparc: Use VMState arrays for SPARC64 TLB/MMU state, Peter Maydell, 2016/01/11
- [Qemu-devel] [PATCH v2 6/8] target-sparc: Convert to VMStateDescription, Peter Maydell, 2016/01/11
- [Qemu-devel] [PATCH v2 3/8] vmstate: define vmstate_info_uinttl,
Peter Maydell <=
- [Qemu-devel] [PATCH v2 5/8] target-sparc: Don't flush TLB in cpu_load function, Peter Maydell, 2016/01/11
- [Qemu-devel] [PATCH v2 1/8] vmstate: introduce CPU_DoubleU arrays, Peter Maydell, 2016/01/11
- [Qemu-devel] [PATCH v2 4/8] target-sparc: Split cpu_put_psr into side-effect and no-side-effect parts, Peter Maydell, 2016/01/11
- [Qemu-devel] [PATCH v2 2/8] vmstate: Introduce VMSTATE_VARRAY_MULTPLY, Peter Maydell, 2016/01/11
- [Qemu-devel] [PATCH v2 8/8] target-sparc: Migrate CWP and PIL for SPARC64, Peter Maydell, 2016/01/11
- Re: [Qemu-devel] [PATCH v2 0/8] target-sparc: Update to use VMStateDescription, Mark Cave-Ayland, 2016/01/15