aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/ps2
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/ps2')
-rw-r--r--kernel/drivers/ps2/keyboard.c6
-rw-r--r--kernel/drivers/ps2/mouse.c4
-rw-r--r--kernel/drivers/ps2/ps2.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/kernel/drivers/ps2/keyboard.c b/kernel/drivers/ps2/keyboard.c
index bddb280..bf1a520 100644
--- a/kernel/drivers/ps2/keyboard.c
+++ b/kernel/drivers/ps2/keyboard.c
@@ -1,14 +1,14 @@
// MIT License, Copyright (c) 2020 Marvin Borner
-#include <drivers/cpu.h>
#include <def.h>
-#include <errno.h>
+#include <drivers/cpu.h>
#include <drivers/interrupts.h>
+#include <drivers/ps2.h>
+#include <errno.h>
#include <io.h>
#include <mem.h>
#include <print.h>
#include <proc.h>
-#include <drivers/ps2.h>
#include <stack.h>
#include <str.h>
#include <sys.h>
diff --git a/kernel/drivers/ps2/mouse.c b/kernel/drivers/ps2/mouse.c
index 2942e34..680183d 100644
--- a/kernel/drivers/ps2/mouse.c
+++ b/kernel/drivers/ps2/mouse.c
@@ -2,13 +2,13 @@
#include <assert.h>
#include <drivers/cpu.h>
-#include <errno.h>
#include <drivers/interrupts.h>
+#include <drivers/ps2.h>
+#include <errno.h>
#include <io.h>
#include <mem.h>
#include <print.h>
#include <proc.h>
-#include <drivers/ps2.h>
#include <stack.h>
#include <str.h>
#include <sys.h>
diff --git a/kernel/drivers/ps2/ps2.c b/kernel/drivers/ps2/ps2.c
index f8d849b..0206892 100644
--- a/kernel/drivers/ps2/ps2.c
+++ b/kernel/drivers/ps2/ps2.c
@@ -1,10 +1,10 @@
// MIT License, Copyright (c) 2021 Marvin Borner
#include <assert.h>
-#include <drivers/cpu.h>
#include <def.h>
-#include <print.h>
+#include <drivers/cpu.h>
#include <drivers/ps2.h>
+#include <print.h>
#define PS2_TIMEOUT 100