summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/boot.c
diff options
context:
space:
mode:
authordzwdz2022-08-08 19:37:10 +0200
committerdzwdz2022-08-08 19:37:10 +0200
commit06415b58cdba12cd6a1a5b06f567d11d584364cc (patch)
tree13e6864247f81f44056afb053f0fef11af576317 /src/kernel/arch/amd64/boot.c
parentf2703089da21898e9c3127615e98c1717c7ceeb5 (diff)
driver/ata: separate out from the fsroot driver
Diffstat (limited to 'src/kernel/arch/amd64/boot.c')
-rw-r--r--src/kernel/arch/amd64/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/amd64/boot.c b/src/kernel/arch/amd64/boot.c
index 2347df4..1041c7d 100644
--- a/src/kernel/arch/amd64/boot.c
+++ b/src/kernel/arch/amd64/boot.c
@@ -1,6 +1,6 @@
-#include <kernel/arch/amd64/ata.h>
#include <kernel/arch/amd64/boot.h>
#include <kernel/arch/amd64/driver/fsroot.h>
+#include <kernel/arch/amd64/driver/pata.h>
#include <kernel/arch/amd64/driver/ps2.h>
#include <kernel/arch/amd64/driver/serial.h>
#include <kernel/arch/amd64/driver/video.h>
@@ -47,7 +47,7 @@ void kmain_early(struct multiboot_info *multiboot) {
serial_init();
kprintf("ata...\n");
- ata_init();
+ pata_init();
vid.b = (void*)multiboot->framebuffer_addr;
vid.pitch = multiboot->framebuffer_pitch;