revert between 56095 -> 55830 in arch
[AROS.git] / arch / arm-raspi / boot / kprintf.c
blob87bab81ac1bb55298bbf5fce916625537c67f285
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <stdio.h>
8 #include "serialdebug.h"
9 //#include "bootconsole.h"
11 void putBytes(const char *str)
13 while(*str)
15 // fb_Putc(*str);
16 putByte(*str++);
20 static char tmpbuf[512];
22 void kprintf(const char *format, ...)
24 char *out = tmpbuf;
25 va_list vp;
27 va_start(vp, format);
28 vsnprintf(tmpbuf, 511, format, vp);
29 va_end(vp);
31 putBytes(out);