diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 15:08:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 15:08:01 +0100 |
commit | 7e908dabaaf6c67ef5000406a0bb3a6a29beca01 (patch) | |
tree | b0516cc4771ca3a8e202327d2864804afefe4cfc /src/kernel/core/kmain.c | |
parent | 91c5969cdddf2241418082998e76bdbb836ed03e (diff) | |
download | kogata-7e908dabaaf6c67ef5000406a0bb3a6a29beca01.tar.gz kogata-7e908dabaaf6c67ef5000406a0bb3a6a29beca01.zip |
Add PCI IDE driver (only PIO mode, no DMA yet.)
Diffstat (limited to 'src/kernel/core/kmain.c')
-rw-r--r-- | src/kernel/core/kmain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/core/kmain.c b/src/kernel/core/kmain.c index c77750a..9bf9d0d 100644 --- a/src/kernel/core/kmain.c +++ b/src/kernel/core/kmain.c @@ -24,6 +24,7 @@ #include <string.h> #include <dev/pci.h> +#include <dev/pciide.h> // ===== FOR TESTS ===== #define TEST_PLACEHOLDER_AFTER_IDT @@ -135,6 +136,7 @@ void kernel_init_stage2(void* data) { // Scan for devices pci_setup(); + pciide_detect(iofs); // Add kernel command line to iofs { |