[LinuxBIOS] [PATCH] v3: add a check for a termination member

Stefan Reinauer stepan at coresystems.de
Sat Jan 5 23:13:41 CET 2008

Carl-Daniel Hailfinger wrote:
> Check for a terminating LAR member which tells us that no further LAR
> member except the bootblock will be found after this member.
> The LAR member has a normal MAGIC, but all other parts of struct
> lar_header are 0xff. That way, adding a new member in place of the
> terminating member will not need an erase cycle.
I don't see a gain in this. Since we know the position and size of the 
lar archive anyways, we know nothing will come after the bootblock.

There should not be any headers that do not belong to real "files" in 
the lar, that would be breaking our model.

coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080105/af6f0e27/attachment.sig>

More information about the coreboot mailing list