[OpenBIOS] [PATCH] Fixes printk so it prints very large strings

Programmingkid programmingkidx at gmail.com
Tue Apr 28 04:30:09 CEST 2015


Fixes printk function so it can print very large strings. This patch does allow me to see the full
bootscript in the serial console. 

Signed-off-by: John Arbuckle <programmingkidx at gmail.com>

Index: arch/ppc/qemu/qemu.c
===================================================================
--- arch/ppc/qemu/qemu.c	(revision 1335)
+++ arch/ppc/qemu/qemu.c	(working copy)
@@ -56,7 +56,7 @@
 int
 printk( const char *fmt, ... )
 {
-        char *p, buf[1024];
+        char *p, buf[10024];
 	va_list args;
 	int i;
 




More information about the OpenBIOS mailing list