aboutsummaryrefslogtreecommitdiffstats
path: root/src/boot.c
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/boot.c
parent3ecdc492ce1f2b7308dde85f1aba6a582a68f3cc (diff)
downloadseabios-4cd522e673426e68a96e8d2a026b99e58a821ca0.tar.gz
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/boot.c')
-rw-r--r--src/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot.c b/src/boot.c
index b14ced9b..1c74d576 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -743,7 +743,7 @@ int BootSequence VARLOW = -1;
void VISIBLE32FLAT
handle_18(void)
{
- debug_serial_preinit();
+ debug_preinit();
debug_enter(NULL, DEBUG_HDL_18);
int seq = BootSequence + 1;
BootSequence = seq;
@@ -754,7 +754,7 @@ handle_18(void)
void VISIBLE32FLAT
handle_19(void)
{
- debug_serial_preinit();
+ debug_preinit();
debug_enter(NULL, DEBUG_HDL_19);
BootSequence = 0;
do_boot(0);