Paolo Bonzini b7f480c3f6 m25p80: change cur_addr to 32 bit integer
The maximum amount of storage that can be addressed by the m25p80 command
set is 4 GiB.  However, cur_addr is currently a 64-bit integer.  To avoid
further problems related to sign extension of signed 32-bit integer
expressions, change cur_addr to a 32 bit integer.  Preserve migration
format by adding a dummy 4-byte field in place of the (big-endian)
high four bytes in the formerly 64-bit cur_addr field.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1467138270-32481-5-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-07-04 13:15:22 +01:00
..
2016-07-01 14:38:54 +02:00
2016-06-30 19:00:02 +01:00
2016-06-29 19:14:48 +01:00
2016-06-17 16:33:48 +10:00
2016-05-29 09:11:10 +02:00
2016-06-14 15:59:13 +01:00
2016-06-29 19:14:48 +01:00
2016-06-29 14:03:46 +02:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-05-29 09:11:10 +02:00
2016-06-24 05:13:57 +03:00
2016-06-17 03:28:03 +03:00
2016-01-29 15:07:25 +00:00
2016-06-29 19:14:48 +01:00
2016-06-24 05:13:57 +03:00
2016-06-22 12:53:26 +02:00
2016-06-22 11:28:42 +01:00
2015-12-22 18:39:19 +02:00