[coreboot] Coreboot bug?

ron minnich rminnich at gmail.com
Wed Nov 11 22:26:37 CET 2009


On Wed, Nov 11, 2009 at 1:21 PM, Peter Stuge <peter at stuge.se> wrote:
> Myles Watson wrote:
>> >> unsigned char option_table[] = {
>> >>        0xc8,0x00,0x00,0x00,0x88,0x04,0x00,0x00,0x0c,0x00,
>> >
>> > Second 32 bits 0x88,0x04,0x00,0x00 is the length. We're small endian.
>> > So it's 0x488 or 1160 bytes. Does that match?
>>
>> Yes, it matches.  There are 116 10-byte lines.
>
> Maybe make a type with struct lb_record followed by unsigned char [],
> then it is more clear what is going on.

yes, when this code was written, gcc 2.95 days, that type of thing did
not actually work; no problem now.

ron




More information about the coreboot mailing list