diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-12-25 09:09:28 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-12-25 09:09:28 +0100 |
| commit | 46bee1d532bca31a094ea70217802c2a81b244e6 (patch) | |
| tree | 702ee18eed946d5f889e0180284a1dd5a61a40bc /src/custommem.c | |
| parent | 68e3c2be9b25df05451f3d635971b7acbf12a953 (diff) | |
| download | box64-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.c | 2 |
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 { |