aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/io')
-rw-r--r--src/kernel/io/io.c2
-rw-r--r--src/kernel/io/io.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/io/io.c b/src/kernel/io/io.c
index fd7cd46..801a2fe 100644
--- a/src/kernel/io/io.c
+++ b/src/kernel/io/io.c
@@ -74,7 +74,7 @@ void outl(u16 port, u32 data)
asm volatile("outl %0, %1" ::"a"(data), "Nd"(port));
}
-void init_serial()
+void serial_install()
{
outb(0x3f8 + 1, 0x00);
outb(0x3f8 + 3, 0x80);
diff --git a/src/kernel/io/io.h b/src/kernel/io/io.h
index 2d078f1..b5573cc 100644
--- a/src/kernel/io/io.h
+++ b/src/kernel/io/io.h
@@ -54,7 +54,7 @@ void outl(u16 port, u32 data);
/**
* Initialize the serial conenction
*/
-void init_serial();
+void serial_install();
/**
* Write a single char to the serial port (QEMU logging)