From 4cd522e673426e68a96e8d2a026b99e58a821ca0 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 29 Nov 2013 12:14:34 -0500 Subject: Move low-level hardware writing from output.c to new file hw/serialio.c. Avoid hardware specific code in output.c. This will reduce the amount of change needed to output.c as support for more serial hardware is added. This patch also renames some functions to improve the naming scheme. Signed-off-by: Kevin O'Connor --- src/output.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/output.h') diff --git a/src/output.h b/src/output.h index bdfdd63..a13d55b 100644 --- a/src/output.h +++ b/src/output.h @@ -4,8 +4,7 @@ #include "types.h" // u32 // output.c -extern u16 DebugOutputPort; -void debug_serial_preinit(void); +void debug_preinit(void); void panic(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))) __noreturn; void printf(const char *fmt, ...) -- cgit v1.1