Add simple NVMe module and switch to NVMe emulation

This commit is contained in:
2026-07-23 20:52:10 +03:00
parent ba9beebf8e
commit 065aa261f5
10 changed files with 345 additions and 21 deletions
+2
View File
@@ -3,6 +3,7 @@
#include "src/kernel/idt.h"
#include "src/kernel/keyboard.h"
#include "src/kernel/log.h"
#include "src/kernel/nvme.h"
#include "src/kernel/panic.h"
#include "src/kernel/path.h"
#include "src/kernel/pic.h"
@@ -61,6 +62,7 @@ void kernel_main() {
gdt_init();
syscall_init();
nvme_init();
process_t *kernel = memory_allocate(sizeof(process_t));
kernel->pml4 = (uint64_t *)KERNEL_VIRTUAL_PML4;