about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-06 17:54:47 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-06 17:54:47 +0100
commit8b456d5a60536fb94108f504602feaaec9fc71c1 (patch)
tree32a03219266631f44fbc9ec677022cbebdbf2831 /src/include
parent1b350d24c30657c8ea8afd4f3aeeda960a0a2357 (diff)
downloadbox64-8b456d5a60536fb94108f504602feaaec9fc71c1.tar.gz
box64-8b456d5a60536fb94108f504602feaaec9fc71c1.zip
Some work on TLS (not sure it's a good idea to separate 64 FS: prefix there)
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/box64context.h2
-rwxr-xr-xsrc/include/debug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index ed8cd118..6e4d9052 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -169,7 +169,7 @@ typedef struct box64context_s {
     int                 atfork_sz;
     int                 atfork_cap;
 
-    uint8_t             canary[4];
+    uint8_t             canary[8];
 
     uintptr_t           signals[MAX_SIGNAL];
     uintptr_t           restorer[MAX_SIGNAL];
diff --git a/src/include/debug.h b/src/include/debug.h
index 8b440787..873db669 100755
--- a/src/include/debug.h
+++ b/src/include/debug.h
@@ -18,7 +18,7 @@ extern int box64_novulkan;  // disabling the use of wrapped vulkan
 extern uintptr_t   trace_start, trace_end;
 extern char* trace_func;
 extern uintptr_t fmod_smc_start, fmod_smc_end; // to handle libfmod (from Unreal) SMC (self modifying code)
-extern uint32_t default_fs;
+extern uint32_t default_gs;
 extern int jit_gdb; // launch gdb when a segfault is trapped
 extern int box64_tcmalloc_minimal;  // when using tcmalloc_minimal
 #define LOG_NONE 0