1 /* $Id: printf.c,v 1.1 1999/08/20 21:13:33 ralf Exp $
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
7 * Putting things on the screen using SGI arcs PROM facilities.
9 * Copyright (C) 1996 David S. Miller (dm@sgi.com)
11 #include <linux/init.h>
12 #include <linux/kernel.h>
14 #include <asm/sgialib.h>
16 static char ppbuf
[1024];
18 void prom_printf(char *fmt
, ...)
25 i
= vsprintf(ppbuf
, fmt
, args
);
29 while((ch
= *(bptr
++)) != 0) {