diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-03-12 21:43:20 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-03-12 21:43:20 +0100 |
| commit | a08f3c4c9eca36ef2415d8428434ca4af41aa84e (patch) | |
| tree | 19a473f8220c366379ad7d887a4b2488e6035d22 /src/include | |
| parent | c0f98bb0ec8b996d7fe35b1b311ec421587a94fd (diff) | |
| download | box64-a08f3c4c9eca36ef2415d8428434ca4af41aa84e.tar.gz box64-a08f3c4c9eca36ef2415d8428434ca4af41aa84e.zip | |
Tried to optimize TLS fetching
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/x64tls.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/x64tls.h b/src/include/x64tls.h index f26827c2..9ca97efb 100755 --- a/src/include/x64tls.h +++ b/src/include/x64tls.h @@ -6,8 +6,7 @@ typedef struct thread_area_s thread_area_t; uint32_t my_set_thread_area(thread_area_t* td); uint32_t my_modify_ldt(x64emu_t* emu, int op, thread_area_t* td, int size); -void* fillTLSData(box64context_t *context); -void* resizeTLSData(box64context_t *context, void* oldptr); +tlsdatasize_t* getTLSData(box64context_t *context); void* GetSegmentBase(uint32_t desc); int my_arch_prctl(x64emu_t *emu, int code, void* addr); |