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

+2 -2
View File
@@ -414,7 +414,7 @@ namespace Sched {
}
uint64_t ElfLoad(const char* vfsPath, uint64_t pml4Phys) {
Fs::Vfs::BackendFile file = {-1, -1};
Fs::Vfs::BackendFile file = {-1, -1, 0};
if (Fs::Vfs::OpenBackendFile(vfsPath, file) < 0) {
return 0;
}
@@ -512,7 +512,7 @@ namespace Sched {
}
uint64_t ElfLoadLib(const char* vfsPath, uint64_t pml4Phys, int slot) {
Fs::Vfs::BackendFile file = {-1, -1};
Fs::Vfs::BackendFile file = {-1, -1, 0};
if (Fs::Vfs::OpenBackendFile(vfsPath, file) < 0) {
return 0;
}