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 -1
View File
@@ -1099,7 +1099,7 @@ namespace Ipc {
int OpenFileHandleForSlot(int slot, const char* path, bool create) {
if (slot < 0 || slot >= Sched::MaxProcesses || path == nullptr) return -1;
Fs::Vfs::BackendFile backend = {-1, -1};
Fs::Vfs::BackendFile backend = {-1, -1, 0};
int result = create ? Fs::Vfs::CreateBackendFile(path, backend)
: Fs::Vfs::OpenBackendFile(path, backend);
if (result < 0) return -1;