| Submitter | Juan Quintela |
|---|---|
| Date | Sept. 29, 2009, 8:48 p.m. |
| Message ID | <b3ad2497d4e56c443de5a5bfc8acff6211969374.1254255997.git.quintela@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/34460/ |
| State | Superseded |
| Headers | show |
Comments
Patch
diff --git a/hw/hw.h b/hw/hw.h index 9afe50a..2d86389 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -510,6 +510,12 @@ extern const VMStateDescription vmstate_pci_device; #define VMSTATE_UINT16_ARRAY(_f, _s, _n) \ VMSTATE_UINT16_ARRAY_V(_f, _s, _n, 0) +#define VMSTATE_UINT8_ARRAY_V(_f, _s, _n, _v) \ + VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_uint8, uint8_t) + +#define VMSTATE_UINT8_ARRAY(_f, _s, _n) \ + VMSTATE_UINT8_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)
Signed-off-by: Juan Quintela <quintela@redhat.com> --- hw/hw.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)