X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Fprom.c;h=19b4bf5acd7b2590f72e3cc17ca5409a1874f1f3;hp=209dd87d777fcf52d99b91d28541751578480781;hb=ca58ccca8abb692653406eec7a414ffc985d6378;hpb=0ef1539b6f680ba09c88be5bb94a821fd2599931 diff --git a/second/prom.c b/second/prom.c index 209dd87..19b4bf5 100644 --- a/second/prom.c +++ b/second/prom.c @@ -1,25 +1,27 @@ /* - Routines for talking to the Open Firmware PROM on - Power Macintosh computers. - - Copyright (C) 1999 Benjamin Herrenschmidt - Copyright (C) 1999 Marius Vollmer - Copyright (C) 1996 Paul Mackerras. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + * prom.c - Routines for talking to the Open Firmware PROM + * + * Copyright (C) 2001, 2002 Ethan Benson + * + * Copyright (C) 1999 Benjamin Herrenschmidt + * + * Copyright (C) 1999 Marius Vollmer + * + * Copyright (C) 1996 Paul Mackerras. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "prom.h" @@ -414,7 +416,7 @@ prom_puts (prom_handle file, char *s) void prom_vfprintf (prom_handle file, char *fmt, va_list ap) { - static char printf_buf[1536]; + static char printf_buf[2048]; vsprintf (printf_buf, fmt, ap); prom_puts (file, printf_buf); } @@ -422,7 +424,7 @@ prom_vfprintf (prom_handle file, char *fmt, va_list ap) void prom_vprintf (char *fmt, va_list ap) { - static char printf_buf[1536]; + static char printf_buf[2048]; vsprintf (printf_buf, fmt, ap); prom_puts (prom_stdout, printf_buf); } @@ -628,7 +630,7 @@ prom_pause(void) /* * Local variables: - * c-file-style: "K&R" + * c-file-style: "k&r" * c-basic-offset: 5 * End: */