this was meant to be included in the previous commits
This commit is contained in:
parent
b7afe7e597
commit
5c98930126
@ -10,7 +10,7 @@ static u64 prepAllocSize(u64 sz) {
|
|||||||
if (psz < minTotPad) psz = minTotPad;
|
if (psz < minTotPad) psz = minTotPad;
|
||||||
return sz + psz;
|
return sz + psz;
|
||||||
}
|
}
|
||||||
#define MMAP(SZ) mmap(NULL, prepAllocSize(SZ), PROT_READ|PROT_WRITE, MAP_NORESERVE|MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
|
#define MMAP(SZ) mmap(NULL, SZ, PROT_READ|PROT_WRITE, MAP_NORESERVE|MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
|
||||||
|
|
||||||
GLOBAL bool mem_log_enabled;
|
GLOBAL bool mem_log_enabled;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user