[coreboot] [PATCH]Move option table to CBFS

Patrick Georgi Patrick.Georgi at secunet.com
Tue Jan 18 15:00:45 CET 2011


Am Dienstag, den 18.01.2011, 14:17 +0100 schrieb Patrick Georgi:
> I guess TMPFILE_LEN used to work because it usually ends up as a short
> name in /tmp/, 20 characters or less. But you're right, this needs
> fixing.
Actually I'm mistaken on that - it's a relative path (but outside /tmp),
which should save us in most situations, but it's usually more than 20
bytes.

I simply give it 25600 bytes now, which should be enough for
everyone[tm]. Also moved to using snprintf to prevent the string from
exceeding its assigned space (and other nastiness).

Committed as r6268, every other problem can be fixed on top of that :)

Thanks for the review!


Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110118/dca20db0/attachment.sig>


More information about the coreboot mailing list