diff options
author | Juan Quintela <quintela@redhat.com> | 2009-12-02 12:36:41 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 10:04:54 -0600 |
commit | 2fee40782cb6462137f49023b8e55e22c4571790 (patch) | |
tree | 137295a18d96aa020595e1a1b50e468165cca1cf /hw/hw.h | |
parent | 543fc7b27a0e498d89b56a9fe0f9ac4f0f687f13 (diff) |
vmstate: Introduce UINT16_TEST support
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/hw.h')
-rw-r--r-- | hw/hw.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -633,6 +633,9 @@ extern const VMStateDescription vmstate_i2c_slave; #define VMSTATE_INT32_LE(_f, _s) \ VMSTATE_SINGLE(_f, _s, 0, vmstate_info_int32_le, int32_t) +#define VMSTATE_UINT16_TEST(_f, _s, _t) \ + VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_uint16, uint16_t) + #define VMSTATE_UINT32_TEST(_f, _s, _t) \ VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_info_uint32, uint32_t) |