On 04.02.2008 17:49, Stefan Reinauer wrote:
> * Carl-Daniel Hailfinger <[EMAIL PROTECTED]> [080204 17:42]:
>   
>> It's not that easy. I need the location of the buffer and the current
>> offset inside the buffer. The one global variable would have pointed to
>> a struct containing all that info.
>>     
>  
> You want that pointer persistant anyways, because you will likely have
> to pass it to linux, too. So why not have the first 4 byte of the buffer
> as "buffer pointer"?
>   

Hm yes. That still leaves us with the problem to locate the buffer. We
cannot rely on gcc to place it on stack in the location we want.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


-- 
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to