[LinuxBIOS] [PATCH] pci_rom.c checksum extension rom

Alex Beregszaszi alex at rtfs.hu
Wed Sep 5 18:12:17 CEST 2007


Hi,

On Wed, 2007-09-05 at 04:29 +0200, Stefan Reinauer wrote:
> * Alex Beregszaszi <alex at rtfs.hu> [070904 13:17]:
> > Hi,
> > 
> > the attached patch adds code to checksum the pci extension rom and stop
> > if the stored and calculated checksum differ.
> 
> Is this checksum reliably correct? I am hesitating to add new
> restrictions that might break otherwise working cards.

This algorithm is used in vgabios to set the checksum, and bochsbios to
check the option roms. If you think this makes too much restrictions,
you might make this only a warning and not a fail condition. Or defined
under a PARANOID_SECURITY option :)

--
Alex Beregszaszi






More information about the coreboot mailing list