summaryrefslogtreecommitdiff
path: root/kernel/init/kernel.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-12 20:55:33 +0100
committerAnton Kling <anton@kling.gg>2023-11-12 20:58:08 +0100
commit23b8815e8ca1bc8fbc745fc3073be21f5a813c9e (patch)
tree0499342477c7df1452907851ce29ec1ff6135f6c /kernel/init/kernel.c
parent4e34a5f97786b3bab82f08297ead63e1618744ec (diff)
AHCI: Add very basic AHCI and some additional helper functions to mmu.c
Currently certain parts of the code are taken from osdev wiki as there seems to be very little documentation that I can find on how H2D FIS is structured. Those parts, especially some of the uglier parts of the example code will be rewritten/changed.
Diffstat (limited to 'kernel/init/kernel.c')
-rw-r--r--kernel/init/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/init/kernel.c b/kernel/init/kernel.c
index 217967a..e9c8ea1 100644
--- a/kernel/init/kernel.c
+++ b/kernel/init/kernel.c
@@ -4,6 +4,7 @@
#include <cpu/spinlock.h>
#include <cpu/syscall.h>
#include <crypto/SHA1/sha1.h>
+#include <drivers/ahci.h>
#include <drivers/ata.h>
#include <drivers/keyboard.h>
#include <drivers/mouse.h>