qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 15/28] vmstate: define vmstate_info_uinttls


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 15/28] vmstate: define vmstate_info_uinttls
Date: Wed, 26 Oct 2011 22:16:29 +0200

We are going to define arrays of this type, so we need the integer type.

Signed-off-by: Juan Quintela <address@hidden>
---
 hw/hw.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/hw.h b/hw/hw.h
index ab17bb6..5d4383c 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -947,11 +947,13 @@ extern const VMStateDescription vmstate_hid_ptr_device;
     VMSTATE_UINT64_V(_f, _s, _v)
 #define VMSTATE_UINTTL_ARRAY_V(_f, _s, _n, _v)                        \
     VMSTATE_UINT64_ARRAY_V(_f, _s, _n, _v)
+#define vmstate_info_uinttls vmstate_info_uint64
 #else
 #define VMSTATE_UINTTL_V(_f, _s, _v)                                  \
     VMSTATE_UINT32_V(_f, _s, _v)
 #define VMSTATE_UINTTL_ARRAY_V(_f, _s, _n, _v)                        \
     VMSTATE_UINT32_ARRAY_V(_f, _s, _n, _v)
+#define vmstate_info_uinttls vmstate_info_uint32
 #endif
 #define VMSTATE_UINTTL(_f, _s)                                        \
     VMSTATE_UINTTL_V(_f, _s, 0)
-- 
1.7.6.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]