[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 632cf07] vmstate: add support for arrays of uint1
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 632cf07] vmstate: add support for arrays of uint16_t |
Date: |
Fri, 11 Sep 2009 18:31:55 -0000 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/hw/hw.h b/hw/hw.h
index 4ff7dbd..b023ced 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -483,6 +483,12 @@ extern const VMStateDescription vmstate_pci_device;
#define VMSTATE_PTIMER(_f, _s) \
VMSTATE_PTIMER_V(_f, _s, 0)
+#define VMSTATE_UINT16_ARRAY_V(_f, _s, _n, _v) \
+ VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_uint16, uint16_t)
+
+#define VMSTATE_UINT16_ARRAY(_f, _s, _n) \
+ VMSTATE_UINT16_ARRAY_V(_f, _s, _n, 0)
+
#define VMSTATE_UINT32_ARRAY_V(_f, _s, _n, _v) \
VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_uint32, uint32_t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 632cf07] vmstate: add support for arrays of uint16_t,
Anthony Liguori <=