From: Juan Quintela Date: Tue, 29 Sep 2009 20:48:36 +0000 (+0200) Subject: vmstate: create VMSTATE_INT16_ARRAY X-Git-Tag: TizenStudio_2.0_p2.3~7310 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dfc10cec5e78182c45629b079ed9a484f59d36f;p=sdk%2Femulator%2Fqemu.git vmstate: create VMSTATE_INT16_ARRAY Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/hw/hw.h b/hw/hw.h index 51154ab..c33d8d1 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -548,6 +548,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)