summaryrefslogtreecommitdiff
path: root/kernel/io.c
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksav013@gmail.com>2022-08-05 14:33:51 +0200
committerAleksa Vuckovic <aleksav013@gmail.com>2022-08-05 14:33:51 +0200
commitbd7d4366b6643b5c6cd04f40dd32f5d9c9575fd6 (patch)
tree92429e897be007d46c8f063a39a986df2124111a /kernel/io.c
parentbe3274c49d0ca5e31daa855c4c109d830fdead67 (diff)
organised files; switched to recursive make
Diffstat (limited to 'kernel/io.c')
-rw-r--r--kernel/io.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/io.c b/kernel/io.c
deleted file mode 100644
index 6bf67d0..0000000
--- a/kernel/io.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <stdint.h>
-
-uint8_t inb(uint32_t port)
-{
- uint8_t ret;
- __asm__ volatile ("inb %%dx, %%al" : "=a"(ret) : "d"(port));
- return ret;
-}
-
-void outb(uint32_t port, uint8_t value)
-{
- __asm__ volatile ("outb %%al, %%dx" : : "d"(port), "a"(value));
-}