about summary refs log tree commit diff stats
path: root/src/custommem.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-12-25 09:09:28 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-12-25 09:09:28 +0100
commit46bee1d532bca31a094ea70217802c2a81b244e6 (patch)
tree702ee18eed946d5f889e0180284a1dd5a61a40bc /src/custommem.c
parent68e3c2be9b25df05451f3d635971b7acbf12a953 (diff)
downloadbox64-46bee1d532bca31a094ea70217802c2a81b244e6.tar.gz
box64-46bee1d532bca31a094ea70217802c2a81b244e6.zip
Small change with not 48bits memory space for mmap64 (might help #1163)
Diffstat (limited to 'src/custommem.c')
-rw-r--r--src/custommem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c
index 0e2b1a09..2dcc2b02 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -85,7 +85,7 @@ static uint64_t  memprot_allocated = 0, memprot_max_allocated = 0;
 #endif
 static memprot_t memprot[1<<MEMPROT_SIZE0];    // x86_64 mem is 48bits, page is 12bits, so memory is tracked as [20][16][page protection]
 static uint8_t   memprot_default[MEMPROT_SIZE];
-static int have48bits = 0;
+int have48bits = 0;
 static int inited = 0;
 
 typedef struct mapmem_s {