about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-10-31 12:05:04 +0100
committerGitHub <noreply@github.com>2022-10-31 12:05:04 +0100
commit8459ea0d31a851e847318273233c9a8b2b079eae (patch)
tree2ab39af3c19d9720d906cd060211107c5dc549a2 /src/include/box64context.h
parent494c245b591cef1a34cc4d4dc52163861d4e54af (diff)
downloadbox64-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/box64context.h')
-rwxr-xr-xsrc/include/box64context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 9eb130ec..1d7d8b58 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -26,7 +26,6 @@ typedef struct atfork_fnc_s {
 } atfork_fnc_t;
 #ifdef DYNAREC
 typedef struct dynablock_s      dynablock_t;
-typedef struct dynablocklist_s  dynablocklist_t;
 typedef struct mmaplist_s       mmaplist_t;
 typedef struct kh_dynablocks_s  kh_dynablocks_t;
 #endif
@@ -125,6 +124,7 @@ typedef struct box64context_s {
     pthread_mutex_t     mutex_lock;     // dynarec build will use their own mecanism
     #else
     pthread_mutex_t     mutex_dyndump;
+    uintptr_t           max_db_size;    // the biggest (in x86_64 instructions bytes) built dynablock
     int                 trace_dynarec;
     #endif
     pthread_mutex_t     mutex_tls;