[coreboot] v3 challenge: global variables

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon Feb 4 16:52:56 CET 2008


On 04.02.2008 16:28, Peter Stuge wrote:
> On Mon, Feb 04, 2008 at 02:52:05PM +0100, Carl-Daniel Hailfinger wrote:
>   
>> I have a really tough challenge for you: I need a global variable
>> in v3.
>>     
>
> Why?
>   

It's a pointer to the printk log buffer. That way, we have printk as
soon as we enter stage 1, even before the Super I/O is initialized. As
an added benefit, we can make the coreboot log available to payloads.

Regards,
Carl-Daniel




More information about the coreboot mailing list