summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorPeter Maydell2013-08-23 18:16:33 +0200
committerPaolo Bonzini2013-09-12 08:46:21 +0200
commit57ffcc4c83331cb4b2639a866b6ecc11b3e7092c (patch)
tree4d75374bf316d50a2de9661348e1c1b397e07b7a /scripts/switch-timer-api
parenthw/scsi/lsi53c895a: Use sextract32 for sign-extension (diff)
downloadqemu-57ffcc4c83331cb4b2639a866b6ecc11b3e7092c.tar.gz
qemu-57ffcc4c83331cb4b2639a866b6ecc11b3e7092c.tar.xz
qemu-57ffcc4c83331cb4b2639a866b6ecc11b3e7092c.zip
hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask
Use deposit32() rather than handcoded shifts/masks to update the scratch registers. This is cleaner and incidentally avoids a clang sanitizer complaint ("runtime error: left shift of 255 by 24 places cannot be represented in type 'int'"). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions