feat: support for USB mass storage devices, hotplugging
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user