diff options
author | dzwdz | 2022-08-17 12:49:34 +0200 |
---|---|---|
committer | dzwdz | 2022-08-17 12:49:34 +0200 |
commit | 2341a0705164e94d0874572505b60680fdbe631f (patch) | |
tree | aea0bcd5c2339076b10d9e416ea1af4d1fb48400 /src/kernel/arch/amd64/boot.c | |
parent | 63fd7ce362c7f1d59365045f19cf1ca87ffe2db9 (diff) |
amd64: rtl8139 driver with basic rx support
Diffstat (limited to 'src/kernel/arch/amd64/boot.c')
-rw-r--r-- | src/kernel/arch/amd64/boot.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/arch/amd64/boot.c b/src/kernel/arch/amd64/boot.c index e92b040..ed19b79 100644 --- a/src/kernel/arch/amd64/boot.c +++ b/src/kernel/arch/amd64/boot.c @@ -7,6 +7,7 @@ #include <kernel/arch/amd64/driver/video.h> #include <kernel/arch/amd64/interrupts/idt.h> #include <kernel/arch/amd64/interrupts/irq.h> +#include <kernel/arch/amd64/pci.h> #include <kernel/arch/amd64/tty/tty.h> #include <kernel/arch/generic.h> #include <kernel/mem/alloc.h> @@ -71,10 +72,11 @@ void kmain_early(void *mbi) { ps2_init(); serial_init(); video_init(vid); - - kprintf("ata...\n"); pata_init(); + kprintf("pci...\n"); + pci_init(); + kprintf("running init...\n"); process_seed(init.addr, init.len); process_switch_any(); |