summaryrefslogtreecommitdiff
path: root/kernel/drivers/ahci.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-13 19:16:31 +0100
committerAnton Kling <anton@kling.gg>2023-11-13 19:16:31 +0100
commit1966047921e2958469f9faac1bd1f56d1fc5587a (patch)
treed46459f062232baadf0766e337d201e6eda35bff /kernel/drivers/ahci.c
parent01c13017bf595935022d31eaaa0349bb60233fee (diff)
Memory: Fix problem where certain tables did not get marked as kernel.
This caused the tables to be cloned instead of having the pointer copied on the new page directory creations. This is just a solution to the symptom of having a bad design for memory managment. Maybe I will figure out something better.
Diffstat (limited to 'kernel/drivers/ahci.c')
-rw-r--r--kernel/drivers/ahci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/drivers/ahci.c b/kernel/drivers/ahci.c
index dfb9395..d660f55 100644
--- a/kernel/drivers/ahci.c
+++ b/kernel/drivers/ahci.c
@@ -1,5 +1,7 @@
#include <assert.h>
#include <drivers/pci.h>
+#include <fs/devfs.h>
+#include <fs/vfs.h>
#include <mmu.h>
#include <stdio.h>