summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
authordzwdz2021-10-02 19:22:15 +0000
committerdzwdz2021-10-02 19:22:15 +0000
commit9413809a49dba99c1f8da73b1bda8dc2cd5446ca (patch)
treefee6dfaee8986237dde88f1c8cd52b06ce987efb /src/kernel/arch
parent0dfaa54eea98ce326a37a5c35e589fbf2cd34003 (diff)
rename kernel/arch/log.h to io.h
it's not related to logging but to general io, the old name didn't make sense
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/generic.h2
-rw-r--r--src/kernel/arch/i386/interrupts/isr.c2
-rw-r--r--src/kernel/arch/i386/tty/tty.c2
-rw-r--r--src/kernel/arch/io.h (renamed from src/kernel/arch/log.h)0
4 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h
index e5ececd..bbbb49f 100644
--- a/src/kernel/arch/generic.h
+++ b/src/kernel/arch/generic.h
@@ -1,7 +1,7 @@
#pragma once
#include <kernel/arch/i386/registers.h>
-#include <kernel/arch/log.h>
+#include <kernel/arch/io.h>
#include <shared/types.h>
#include <stdbool.h>
diff --git a/src/kernel/arch/i386/interrupts/isr.c b/src/kernel/arch/i386/interrupts/isr.c
index 1ca6da9..dacecba 100644
--- a/src/kernel/arch/i386/interrupts/isr.c
+++ b/src/kernel/arch/i386/interrupts/isr.c
@@ -1,5 +1,5 @@
#include <kernel/arch/i386/interrupts/isr.h>
-#include <kernel/arch/log.h>
+#include <kernel/arch/io.h>
#include <kernel/panic.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c
index b469285..bae65c5 100644
--- a/src/kernel/arch/i386/tty/tty.c
+++ b/src/kernel/arch/i386/tty/tty.c
@@ -1,6 +1,6 @@
#include <kernel/arch/i386/tty/serial.h>
#include <kernel/arch/i386/tty/vga.h>
-#include <kernel/arch/log.h>
+#include <kernel/arch/io.h>
void tty_init(void) {
vga_clear();
diff --git a/src/kernel/arch/log.h b/src/kernel/arch/io.h
index ef8cb17..ef8cb17 100644
--- a/src/kernel/arch/log.h
+++ b/src/kernel/arch/io.h