ncr710: Add missing vmstate entries

Signed-off-by: Soumyajyotii Ssarkar <soumyajyotisarkar23@gmail.com>
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Soumyajyotii Ssarkar 2025-11-09 15:58:51 +01:00 committed by Helge Deller
parent 54c1e9cdee
commit 2dd1d20b09
4 changed files with 6 additions and 2 deletions

View file

@ -160,6 +160,10 @@ static const VMStateDescription vmstate_lasi_ncr710 = {
.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()
}
};

View file

@ -46,7 +46,6 @@ typedef struct LasiNCR710State {
uint32_t hw_type; /* Hardware type (HPHW_*) */
uint32_t sversion; /* Software version */
uint32_t hversion; /* Hardware version */
SCSIBus bus;
NCR710State ncr710;
} LasiNCR710State;

View file

@ -2250,7 +2250,7 @@ static const VMStateDescription vmstate_ncr710_scsi_fifo = {
}
};
static const VMStateDescription vmstate_ncr710 = {
const VMStateDescription vmstate_ncr710 = {
.name = "ncr710",
.version_id = 1,
.minimum_version_id = 1,

View file

@ -242,5 +242,6 @@ void ncr710_transfer_data(SCSIRequest *req, uint32_t len);
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 */