mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 23:39:20 +00:00
Fix compiler warnings
This commit is contained in:
@ -59,10 +59,15 @@ namespace Execute
|
||||
debug("Searching for IPC with token %s", UniqueToken);
|
||||
Handle = Process->IPC->SearchByToken(UniqueToken);
|
||||
if (Handle == nullptr)
|
||||
{
|
||||
debug("Failed");
|
||||
}
|
||||
|
||||
TaskManager->Sleep(200);
|
||||
if (Handle == nullptr)
|
||||
{
|
||||
debug("Retrying...");
|
||||
}
|
||||
}
|
||||
debug("IPC found, sending data...");
|
||||
InterpreterIPCData *TmpBuffer = new InterpreterIPCData;
|
||||
@ -95,7 +100,6 @@ namespace Execute
|
||||
}
|
||||
#endif
|
||||
|
||||
int NotFoundRetry = 0;
|
||||
RetryIPCWrite:
|
||||
InterProcessCommunication::IPCErrorCode ret = Process->IPC->Write(Handle->ID, TmpBuffer, sizeof(InterpreterIPCData));
|
||||
debug("Write returned %d", ret);
|
||||
|
@ -35,6 +35,9 @@ namespace Execute
|
||||
VirtualFileSystem::File &ExFile,
|
||||
Tasking::PCB *Process)
|
||||
{
|
||||
UNUSED(BaseImage);
|
||||
UNUSED(ExFile);
|
||||
UNUSED(Process);
|
||||
fixme("Not implemented");
|
||||
return {};
|
||||
}
|
||||
|
@ -166,6 +166,7 @@ namespace Execute
|
||||
void *MemoryImage = nullptr;
|
||||
Elf64_Ehdr *ELFHeader = (Elf64_Ehdr *)ElfFile;
|
||||
bool IsPIC = ELFHeader->e_type == ET_DYN;
|
||||
UNUSED(IsPIC);
|
||||
debug("Elf %s PIC", IsPIC ? "is" : "is not");
|
||||
|
||||
/* TODO: Not sure what I am supposed to do with this.
|
||||
|
@ -30,6 +30,7 @@ namespace Execute
|
||||
VirtualFileSystem::File &ExFile,
|
||||
Tasking::PCB *Process)
|
||||
{
|
||||
UNUSED(ExFile);
|
||||
debug("Relocatable");
|
||||
/* TODO: I have to fully implement this, but for now I will leave it as it is now. */
|
||||
warn("Relocatable ELF is not fully supported yet");
|
||||
|
@ -62,7 +62,9 @@ namespace Execute
|
||||
fixme("Removed library %s because of timeout", Lib.Identifier);
|
||||
}
|
||||
else
|
||||
{
|
||||
debug("Timeout for %s is %ld", Lib.Identifier, Lib.Timeout);
|
||||
}
|
||||
}
|
||||
debug("Waiting 10 seconds...");
|
||||
}
|
||||
@ -214,7 +216,9 @@ namespace Execute
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
debug("GOT section not found");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -230,6 +234,7 @@ namespace Execute
|
||||
|
||||
void SearchLibrary(char *Identifier)
|
||||
{
|
||||
UNUSED(Identifier);
|
||||
SmartLock(ExecuteServiceLock);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user