feat: support for USB mass storage devices, hotplugging

This commit is contained in:
daniel committed 2026-05-18 17:47:12 +02:00
1 parent d340e01e56
commit c20579afd3
36 files changed
+1537 -130

No files matched your search

+1
View File
@@ -668,6 +668,7 @@ namespace Drivers::Storage::Nvme {
bdev.Ctx = (void*)(uintptr_t)i;
bdev.SectorCount = g_namespaces[i].SectorCount;
bdev.SectorSize = (uint16_t)g_namespaces[i].SectorSize;
bdev.Kind = Storage::BLOCK_KIND_NVME;
memcpy(bdev.Model, g_namespaces[i].Model, 41);
Storage::RegisterBlockDevice(bdev);
}