diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-10-15 20:52:16 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-10-15 20:52:16 +0200 |
| commit | d0045b158b30434c2077693d970e2167a1089e84 (patch) | |
| tree | b2951427e4870055cf79f6388d9755a227e843f7 /src/include/box64context.h | |
| parent | 1d4a9e8863d7e32f0bb1472674a94f05df1409b5 (diff) | |
| download | box64-d0045b158b30434c2077693d970e2167a1089e84.tar.gz box64-d0045b158b30434c2077693d970e2167a1089e84.zip | |
Some Segments/Selector handling refactoring , removing some pthread_getspecific use
Diffstat (limited to 'src/include/box64context.h')
| -rw-r--r-- | src/include/box64context.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h index 910b0e8a..419599c6 100644 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -88,10 +88,8 @@ void add1libref_neededlib(needed_libs_t* needed, library_t* lib); typedef struct base_segment_s { uintptr_t base; uint64_t limit; - pthread_key_t key; uint8_t present; uint8_t is32bits; - uint8_t key_init; } base_segment_t; typedef struct box64context_s { @@ -202,10 +200,9 @@ typedef struct box64context_s { int deferredInitSz; int deferredInitCap; - pthread_key_t tlskey; // then tls key to have actual tlsdata void* tlsdata; // the initial global tlsdata int64_t tlssize; // wanted size of tlsdata - base_segment_t segtls[16]; + base_segment_t seggdt[16]; uintptr_t *auxval_start; |