aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
authorMarvin Borner2021-01-08 22:49:54 +0100
committerMarvin Borner2021-01-08 22:49:54 +0100
commit45a9df836accd39cf2dbfbb2453496b0e4d93fa5 (patch)
treef2732f45d4b080644c1ab007be251c5b1eaf060e /kernel/main.c
parent3ad1fce1671c25c5db85977588fd1ceee436e1ba (diff)
Major IDE/ATA driver rewrite
This adds non-hardcoded multi-disk support. I just need to remove the boot/load.c loader and fix the max bootloader ext2 loading size. After that's done I'll try running it on real hardware.
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index b0e1a15..563cae7 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -3,6 +3,7 @@
#include <boot.h>
#include <cpu.h>
#include <fs.h>
+#include <ide.h>
#include <interrupts.h>
#include <keyboard.h>
#include <load.h>
@@ -29,6 +30,7 @@ void kernel_main(struct vid_info *vid_info)
// Install drivers
vfs_install();
device_install();
+ ata_install();
pci_install();
interrupts_install();
timer_install();