[LinuxBIOS] [PATCH] LAR verison field

Alex Beregszaszi alex at rtfs.hu
Thu Sep 6 02:59:19 CEST 2007


Hi,

this adds a 32bit version field after the magic. I choose 200709061 as a starting version, where the last 1 is a counter ranging to 9, thus there can be 9 different version per day (lol).

It is not going to try any backward compatibility or workaround based on version, just bail out or skip when a different version than we are running is encountered.

It might be a better idea grouping len and offset fields after or before version field, and make then fixed by design, so we can do correct skipping instead the 16-byte aligned walking.

Note: the "/* NOTE -- This and the user-mode lar.h are NOT IN SYNC. Be careful. */" message (which is present both in include/lar.h and utils/lar/lar.h) is not valid anymore.
--
Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lar-version.diff
Type: text/x-patch
Size: 3267 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070906/907e6341/attachment.diff>


More information about the coreboot mailing list