summaryrefslogtreecommitdiffstats
path: root/include/hw/scsi
diff options
context:
space:
mode:
authorPaolo Bonzini2015-11-06 16:34:06 +0100
committerMichael Tokarev2015-12-04 07:39:55 +0100
commit63fc7375d6b0a083aef56950119af3d1d2a96e51 (patch)
tree8cdfeac2cc8a5764bc48ddb69288526eacdcdbdd /include/hw/scsi
parentconfigure: use appropriate code fragment for -fstack-protector checks (diff)
downloadqemu-63fc7375d6b0a083aef56950119af3d1d2a96e51.tar.gz
qemu-63fc7375d6b0a083aef56950119af3d1d2a96e51.tar.xz
qemu-63fc7375d6b0a083aef56950119af3d1d2a96e51.zip
gt64xxx: fix decoding of ISD register
The GT64xxx's internal registers can be placed above the first 4 GiB in the address space, but not above the first 64 GiB. Correctly cast the register to a 64-bit integer, and mask away bits above bit 35. Datasheet at http://pdf.datasheetarchive.com/datasheetsmain/Datasheets-33/DSA-655889.pdf (bug reported by Coverity). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/hw/scsi')
0 files changed, 0 insertions, 0 deletions