* ron minnich <[EMAIL PROTECTED]> [070828 16:49]:
> > I think the fix could be even simpler. Instead, if the first header is
> > found,
> > the second header should be searched _after_ the end of the first file
> > in the LAR archive. Going through all of the ROM including the data
> > itself is plain stupid. I remember we did not do this in the beginning,
> > but we broke it since then.
>
> The match appeared to be happening in the code space of linuxbios,
> i.e. in the top 64k or so of rom. that string (MAGIC) was 16-bit
> aligned. How can you fix that? The lar archive size is 0x100000 -- all
> of FLASH.
By walking the headers like a linked list, not the data like a brute
force search algorithm.
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED] • http://www.coresystems.de/
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios