[coreboot] patch: init gx cache earlier.

Stefan Reinauer stepan at coresystems.de
Mon Feb 4 18:40:50 CET 2008


Carl-Daniel Hailfinger wrote:
> On 04.02.2008 16:45, ron minnich wrote:
>   
>> we can provide a function, cycles, in the arch-dependent code. cycles
>> returns whatever makes sense for the architecture.
>>
>> Then this patch can be cleaned up.
>>   
>>     
>
> What about this? (Varargs stuff still needs to get fixed.)
>
>   
What exactly do you intend to fix?

>  #endif /* ARCH_X86_CPU_H */
> Index: lib/console.c
> ===================================================================
> --- lib/console.c	(Revision 571)
> +++ lib/console.c	(Arbeitskopie)
> @@ -34,11 +34,16 @@
>  {
>  	va_list args;
>  	int i;
> +	u32 tstamp;
>  
>  	if (msg_level > console_loglevel()) {
>  		return 0;
>  	}
>  
> +	tstamp = get_timestamp();
> +#error vtxprintf expects varargs, need to fix up
>   

NACK.

> +	vtxprintf(console_tx_byte, (void *)0, "[tstamp %d] ", tstamp);
> +
>  	va_start(args, fmt);
>  	i = vtxprintf(console_tx_byte, (void *)0, fmt, args);
>  	va_end(args);
>
>
>   


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080204/8d3ad2da/attachment.sig>


More information about the coreboot mailing list