aboutsummaryrefslogtreecommitdiff
path: root/src/output.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-11-29 12:14:34 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-12-04 10:34:17 -0500
commit4cd522e673426e68a96e8d2a026b99e58a821ca0 (patch)
treef3b15a6389c4eeca46ae8358ce910f4e22ca1cf9 /src/output.h
parent3ecdc492ce1f2b7308dde85f1aba6a582a68f3cc (diff)
downloadseabios-hppa-4cd522e673426e68a96e8d2a026b99e58a821ca0.zip
seabios-hppa-4cd522e673426e68a96e8d2a026b99e58a821ca0.tar.gz
seabios-hppa-4cd522e673426e68a96e8d2a026b99e58a821ca0.tar.bz2
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 <kevin@koconnor.net>
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h3
1 files changed, 1 insertions, 2 deletions
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, ...)