[coreboot] [commit] r5286 - ...

Stefan Reinauer stepan at coresystems.de
Thu Mar 25 22:56:38 CET 2010


On 3/25/10 10:43 PM, Segher Boessenkool wrote:
>> It seems like others must have this problem of needing to force a binary
>> blob into a struct.
>>     
> Just memcpy() it from the blob to the struct.  If I remember your
> code correctly, you copy it later anyway, so might as well do it
> in one step.
>   
In two steps, because we need to copy the header first to find out how
big the whole array is..

But that's a plan...





More information about the coreboot mailing list