sun4m: fix slavio sysctrl and led register sizes
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 2 Apr 2015 15:09:30 +0000 (16:09 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Apr 2015 16:24:18 +0000 (18:24 +0200)
commit0e1cd6576c55269b6e5251dc739a7fc819f9b4a6
treec4e7c6b871601f75647744b6b059354626f1e0e9
parent339240b5cd42bd13d4f6629f2aedf8b4b07459fb
sun4m: fix slavio sysctrl and led register sizes

These were being incorrectly declared as MISC_SIZE (1 byte) rather than
4 bytes and 2 bytes respectively. As a result accesses clamped to the
real register size would unexpectedly fail.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
CC: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1427987370-15897-1-git-send-email-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/misc/slavio_misc.c