qemu-e2k/pc-bios/optionrom
Avi Kivity 33bbd1de5e 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>
2010-11-21 09:16:57 -06:00
..
linuxboot.S Fix multiboot compilation 2010-06-09 12:35:18 +02:00
Makefile Use vpath directive 2010-01-08 09:58:40 -06:00
multiboot.S multiboot: Fix module loading and setting of mmap. 2009-12-03 15:25:58 -06:00
optionrom.h Fix multiboot compilation 2010-06-09 12:35:18 +02:00
signrom.sh optionrom: fix bugs in signrom.sh 2010-11-21 09:16:57 -06:00