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: [EMAIL PROTECTED] • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
signature.asc
Description: OpenPGP digital signature
-- coreboot mailing list [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

