diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-10-31 12:05:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-31 12:05:04 +0100 |
| commit | 8459ea0d31a851e847318273233c9a8b2b079eae (patch) | |
| tree | 2ab39af3c19d9720d906cd060211107c5dc549a2 /src/include/elfloader.h | |
| parent | 494c245b591cef1a34cc4d4dc52163861d4e54af (diff) | |
| download | box64-8459ea0d31a851e847318273233c9a8b2b079eae.tar.gz box64-8459ea0d31a851e847318273233c9a8b2b079eae.zip | |
Remove dynablocklist (#438)
* [DYNAREC] Removed dynablock sons handling * [DYNAREC] Removed dynablocklist, and attached dynablocks to the jumptable * [DYNAREC] Changed handling of HotPage (part of Protection now) * [DYNAREC] Fixed some performance issues (especially with heavily threaded programs)
Diffstat (limited to 'src/include/elfloader.h')
| -rwxr-xr-x | src/include/elfloader.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/elfloader.h b/src/include/elfloader.h index a4f59719..579c98bd 100755 --- a/src/include/elfloader.h +++ b/src/include/elfloader.h @@ -10,7 +10,7 @@ typedef struct box64context_s box64context_t; typedef struct x64emu_s x64emu_t; typedef struct needed_libs_s needed_libs_t; #ifdef DYNAREC -typedef struct dynablocklist_s dynablocklist_t; +typedef struct dynablock_s dynablock_t; #endif elfheader_t* LoadAndCheckElfHeader(FILE* f, const char* name, int exec); // exec : 0 = lib, 1 = exec @@ -50,8 +50,7 @@ uint32_t GetTLSSize(elfheader_t* h); void* GetTLSPointer(box64context_t* context, elfheader_t* h); void* GetDTatOffset(box64context_t* context, unsigned long int index, unsigned long int offset); #ifdef DYNAREC -dynablocklist_t* GetDynablocksFromAddress(box64context_t *context, uintptr_t addr); -dynablocklist_t* GetDynablocksFromElf(elfheader_t* h); +dynablock_t* GetDynablocksFromAddress(box64context_t *context, uintptr_t addr); #endif void ResetSpecialCaseMainElf(elfheader_t* h); void CreateMemorymapFile(box64context_t* context, int fd); |