aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/io
diff options
context:
space:
mode:
authorMarvin Borner2020-05-31 20:26:40 +0200
committerMarvin Borner2020-05-31 20:26:40 +0200
commiteaadde5453e33af6826bb03488991aab0297d3dd (patch)
treef52d06c0841b664abcab547481dca41f4cfb30ff /src/kernel/io
parent45a5ecc72d8e700614a0751f0e7ec68199885b77 (diff)
OMG
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)