qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 12/20] vmstate: create VMSTATE_INT16_ARRAY


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 12/20] vmstate: create VMSTATE_INT16_ARRAY
Date: Fri, 11 Sep 2009 12:10:32 +0200

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

diff --git a/hw/hw.h b/hw/hw.h
index 649eb24..9bf3369 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -536,6 +536,12 @@ extern const VMStateDescription vmstate_i2c_slave;
 #define VMSTATE_UINT64_ARRAY(_f, _s, _n)                              \
     VMSTATE_UINT64_ARRAY_V(_f, _s, _n, 0)

+#define VMSTATE_INT16_ARRAY_V(_f, _s, _n, _v)                         \
+    VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_int16, int16_t)
+
+#define VMSTATE_INT16_ARRAY(_f, _s, _n)                               \
+    VMSTATE_INT16_ARRAY_V(_f, _s, _n, 0)
+
 #define VMSTATE_INT32_ARRAY_V(_f, _s, _n, _v)                         \
     VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_int32, int32_t)

-- 
1.6.2.5





reply via email to

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