qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v9 7/9] hw/lan9118: Add basic 16-bit mode suppor


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v9 7/9] hw/lan9118: Add basic 16-bit mode support.
Date: Wed, 25 Jan 2012 16:35:54 +0000

On 20 January 2012 10:53, Evgeny Voevodin <address@hidden> wrote:
> @@ -294,6 +304,14 @@ static const VMStateDescription vmstate_lan9118 = {
>         VMSTATE_INT32(rxp_offset, lan9118_state),
>         VMSTATE_INT32(rxp_size, lan9118_state),
>         VMSTATE_INT32(rxp_pad, lan9118_state),
> +        VMSTATE_UINT32(write_word_prev_offset, lan9118_state),
> +        VMSTATE_UINT32(write_word_n, lan9118_state),
> +        VMSTATE_UINT16(write_word_l, lan9118_state),
> +        VMSTATE_UINT16(write_word_h, lan9118_state),
> +        VMSTATE_UINT32(read_word_prev_offset, lan9118_state),
> +        VMSTATE_UINT32(read_word_n, lan9118_state),
> +        VMSTATE_UINT32(read_long, lan9118_state),
> +        VMSTATE_UINT32(mode_16bit, lan9118_state),
>         VMSTATE_END_OF_LIST()

You need to bump .version_id and make your new fields
   VMSTATE_UINT32(write_word_prev_offset, lan9118_state, 2),
etc.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]