aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/keyboard/pic.c
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2024-02-16 21:17:51 -0600
committerNic Gaffney <gaffney_nic@protonmail.com>2024-02-16 21:17:51 -0600
commit2ae431b4fb4460cc222f059a343dd8ecade8e1ea (patch)
tree396c0e03feffcf8721ea6524d7ac500e84fefab2 /src/kernel/keyboard/pic.c
parenta4177529a7834856f16b0edbe4d126bf03742eb1 (diff)
downloadgftos-2ae431b4fb4460cc222f059a343dd8ecade8e1ea.tar.gz
Forgot to add these last time womp womp
Diffstat (limited to 'src/kernel/keyboard/pic.c')
-rw-r--r--src/kernel/keyboard/pic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/keyboard/pic.c b/src/kernel/keyboard/pic.c
index e1b4fb3..2161c93 100644
--- a/src/kernel/keyboard/pic.c
+++ b/src/kernel/keyboard/pic.c
@@ -7,6 +7,11 @@
#define PIC2_COMMAND PIC2
#define PIC2_DATA (PIC2 + 1)
+// Gonna be honest i just kinda yoinked most of this
+// from the wiki, i am gonna have to rewrite these
+// sooner rather than later if i want to actually
+// learn.
+
void PIC_init(int offset1, int offset2) {
uint8_t a1, a2;