summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/boot.c')
-rw-r--r--src/kernel/arch/i386/boot.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/boot.c b/src/kernel/arch/i386/boot.c
index bd2a00b..94e9e2f 100644
--- a/src/kernel/arch/i386/boot.c
+++ b/src/kernel/arch/i386/boot.c
@@ -1,4 +1,5 @@
#include <kernel/arch/generic.h>
+#include <kernel/arch/i386/ata.h>
#include <kernel/arch/i386/boot.h>
#include <kernel/arch/i386/gdt.h>
#include <kernel/arch/i386/interrupts/idt.h>
@@ -15,7 +16,9 @@ void kmain_early(struct multiboot_info *multiboot) {
gdt_init();
tty_const("idt...");
idt_init();
-
+ tty_const("ata...");
+ ata_init();
+
{ // find the init module
struct multiboot_mod *module = &multiboot->mods[0];
if (multiboot->mods_count < 1) {
@@ -25,6 +28,6 @@ void kmain_early(struct multiboot_info *multiboot) {
info.init.at = module->start;
info.init.size = module->end - module->start;
}
-
+
kmain(info);
}