aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r--src/kernel/interrupts/interrupts.h2
-rw-r--r--src/kernel/interrupts/irq.c2
-rw-r--r--src/kernel/interrupts/isr.c12
3 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/interrupts/interrupts.h b/src/kernel/interrupts/interrupts.h
index 50fd437..12f8f0a 100644
--- a/src/kernel/interrupts/interrupts.h
+++ b/src/kernel/interrupts/interrupts.h
@@ -1,8 +1,8 @@
#ifndef MELVIX_INTERRUPTS_H
#define MELVIX_INTERRUPTS_H
-#include <stdint.h>
#include <stddef.h>
+#include <stdint.h>
/**
* Initialize the Interrupt Descriptor Table with 256 entries
diff --git a/src/kernel/interrupts/irq.c b/src/kernel/interrupts/irq.c
index 4c34d15..7c45718 100644
--- a/src/kernel/interrupts/irq.c
+++ b/src/kernel/interrupts/irq.c
@@ -1,5 +1,5 @@
-#include <io/io.h>
#include <interrupts/interrupts.h>
+#include <io/io.h>
#include <system.h>
extern void irq0();
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c
index d5866f5..9222406 100644
--- a/src/kernel/interrupts/isr.c
+++ b/src/kernel/interrupts/isr.c
@@ -1,12 +1,12 @@
-#include <stdint.h>
+#include <graphics/vesa.h>
#include <interrupts/interrupts.h>
-#include <system.h>
-#include <lib/string.h>
-#include <lib/stdio.h>
+#include <io/io.h>
#include <lib/lib.h>
-#include <graphics/vesa.h>
+#include <lib/stdio.h>
+#include <lib/string.h>
+#include <stdint.h>
+#include <system.h>
#include <tasks/process.h>
-#include <io/io.h>
// Install ISRs in IDT
void isrs_install()