Signed-off-by: Soumyajyotii Ssarkar <soumyajyotisarkar23@gmail.com>
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
.version_id = 1,
.minimum_version_id = 1,
.fields = (const VMStateField[]) {
+ VMSTATE_UINT32(hw_type, LasiNCR710State),
+ VMSTATE_UINT32(sversion, LasiNCR710State),
+ VMSTATE_UINT32(hversion, LasiNCR710State),
+ VMSTATE_STRUCT(ncr710, LasiNCR710State, 1, vmstate_ncr710, NCR710State),
VMSTATE_END_OF_LIST()
}
};
uint32_t hw_type; /* Hardware type (HPHW_*) */
uint32_t sversion; /* Software version */
uint32_t hversion; /* Hardware version */
- SCSIBus bus;
NCR710State ncr710;
} LasiNCR710State;
}
};
-static const VMStateDescription vmstate_ncr710 = {
+const VMStateDescription vmstate_ncr710 = {
.name = "ncr710",
.version_id = 1,
.minimum_version_id = 1,
void ncr710_execute_script(NCR710State *s);
void ncr710_set_phase(NCR710State *s, int phase);
void ncr710_reselection_retry_callback(void *opaque);
+extern const VMStateDescription vmstate_ncr710;
#endif /* HW_NCR53C710_H */