summaryrefslogtreecommitdiffhomepage
path: root/src/loader/inc/cpu.h
diff options
context:
space:
mode:
authorMarvin Borner2021-07-04 21:31:28 +0200
committerMarvin Borner2021-07-04 21:34:15 +0200
commit9b8698769535846d029c44247956eed9a21f1185 (patch)
tree294a17af4102805ab9863274339e8e030897804e /src/loader/inc/cpu.h
Initial commit
Diffstat (limited to 'src/loader/inc/cpu.h')
-rw-r--r--src/loader/inc/cpu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/loader/inc/cpu.h b/src/loader/inc/cpu.h
new file mode 100644
index 0000000..88db34b
--- /dev/null
+++ b/src/loader/inc/cpu.h
@@ -0,0 +1,13 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#ifndef CPU_H
+#define CPU_H
+
+#include <def.h>
+
+u8 inb(u16 port);
+u16 inw(u16 port);
+
+void outb(u16 port, u8 data);
+
+#endif