aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/Makefile
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-11-16 16:33:17 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-11-21 09:16:57 -0600
commit33bbd1de5ec9b8802d63e811908f2351ba83884c (patch)
tree83a5c677c69dd0da3ee94732b5ee4920743aaf7d /pc-bios/Makefile
parente71e00ed258202052570ae631536f4d7b65792fa (diff)
downloadqemu-33bbd1de5ec9b8802d63e811908f2351ba83884c.zip
qemu-33bbd1de5ec9b8802d63e811908f2351ba83884c.tar.gz
qemu-33bbd1de5ec9b8802d63e811908f2351ba83884c.tar.bz2
optionrom: fix bugs in signrom.sh
signrom.sh has multiple bugs: - the last byte is considered when calculating the existing checksum, but not when computing the correction - apprently the 'expr' expression overflows and produces incorrect results with larger roms - if the checksum happened to be zero, we calculated the correction byte to be 256 Instead of rewriting this in half a line of python, this patch fixes the bugs. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'pc-bios/Makefile')
0 files changed, 0 insertions, 0 deletions