Revision bfb811ad
b/hw/hw.h | ||
---|---|---|
475 | 475 |
.offset = vmstate_offset_array(_state, _field, _type, _num), \ |
476 | 476 |
} |
477 | 477 |
|
478 |
#define VMSTATE_STRUCT_ARRAY_SIZE_UINT8(_field, _state, _field__num, _version, _vmsd, _type) { \ |
|
479 |
.name = (stringify(_field)), \ |
|
480 |
.num_offset = vmstate_offset_value(_state, _field_num, uint8_t), \ |
|
481 |
.version_id = (_version), \ |
|
482 |
.vmsd = &(_vmsd), \ |
|
483 |
.size = sizeof(_type), \ |
|
484 |
.flags = VMS_STRUCT|VMS_ARRAY, \ |
|
485 |
.offset = vmstate_offset_array(_state, _field, _type, _num), \ |
|
486 |
} |
|
487 |
|
|
488 | 478 |
#define VMSTATE_STATIC_BUFFER(_field, _state, _version, _test, _start, _size) { \ |
489 | 479 |
.name = (stringify(_field)), \ |
490 | 480 |
.version_id = (_version), \ |
Also available in: Unified diff