summaryrefslogtreecommitdiff
path: root/kernel/port.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-03-21 18:38:17 +0000
committerAda Christine <adachristine18@gmail.com>2021-03-21 18:38:17 +0000
commitc359af48545e2427a69eb955b0512706d4afa7e9 (patch)
tree3a58acf219d23f6cca69ec4dae7e3adb6da2b4c5 /kernel/port.h
parentb88cfbdfad533629b294797efc196034c61dbb75 (diff)
higher-half stub kernel does the thing
Diffstat (limited to 'kernel/port.h')
-rw-r--r--kernel/port.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/port.h b/kernel/port.h
new file mode 100644
index 0000000..cc71973
--- /dev/null
+++ b/kernel/port.h
@@ -0,0 +1,5 @@
+#include <stdint.h>
+
+uint8_t inb(uint16_t port);
+void outb(uint16_t port, uint8_t data);
+