[coreboot] [PATCH] more intelligent cbfs walker

Patrick Georgi patrick at georgi-clan.de
Sat Apr 25 10:44:31 CEST 2009


Hi,

attached patch makes the CBFS file lookup skip file data instead of brute-
forcing its way through it, looking for magic numbers.
For one, it should speed up file access, esp. with many entries, but it also 
helps against false positives (eg. seabios, which contains the magic number 
for its own CBFS support, which _might_ just be aligned properly)


Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090425-1-speedup-cbfs-walker.patch
Type: text/x-patch
Size: 895 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090425/73bf3b23/attachment.patch>


More information about the coreboot mailing list