Added stub interpreter support

This commit is contained in:
Alex
2023-02-10 16:31:33 +02:00
parent 5bbef13d6a
commit a99a2ef34b
3 changed files with 71 additions and 11 deletions

View File

@ -4,6 +4,7 @@
#include <types.h>
#include <filesystem.hpp>
#include <string.hpp>
#include <task.hpp>
#include <elf.h>
@ -55,9 +56,13 @@ namespace Execute
struct ELFBaseLoad
{
bool Success;
bool Interpreter;
SpawnData sd;
Tasking::IP InstructionPointer;
Vector<String> NeededLibraries;
void *MemoryImage;
/* This should be deleted after copying the allocated pages to the thread
Intended to be used only inside BaseLoad.cpp */
Memory::MemMgr *TmpMem;