From 8b456d5a60536fb94108f504602feaaec9fc71c1 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 6 Mar 2021 17:54:47 +0100 Subject: Some work on TLS (not sure it's a good idea to separate 64 FS: prefix there) --- src/include/box64context.h | 2 +- src/include/debug.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') 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 -- cgit 1.4.1