From a5453f6dd85705ee49b20f23e682b090693366e1 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Wed, 16 May 2012 03:56:52 -0500 Subject: [PATCH] rpi: Clean up debug output --- src/system/boot/platform/raspberrypi_arm/debug.cpp | 2 +- src/system/boot/platform/raspberrypi_arm/serial.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system/boot/platform/raspberrypi_arm/debug.cpp b/src/system/boot/platform/raspberrypi_arm/debug.cpp index 4e47bc757e..b2a987c757 100644 --- a/src/system/boot/platform/raspberrypi_arm/debug.cpp +++ b/src/system/boot/platform/raspberrypi_arm/debug.cpp @@ -17,7 +17,7 @@ extern "C" void panic(const char* format, ...) { - const char hint[] = "*** PANIC ***"; + const char hint[] = "\n*** PANIC ***\n"; char buffer[512]; va_list list; int length; diff --git a/src/system/boot/platform/raspberrypi_arm/serial.cpp b/src/system/boot/platform/raspberrypi_arm/serial.cpp index e0bb0ec080..ec6f6c054b 100644 --- a/src/system/boot/platform/raspberrypi_arm/serial.cpp +++ b/src/system/boot/platform/raspberrypi_arm/serial.cpp @@ -79,5 +79,6 @@ serial_init(void) serial_enable(); - serial_puts("Serial startup\n", 15); + serial_puts("\n\n********************\n", 23); + serial_puts("Haiku serial startup\n", 21); }