about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-02 13:38:23 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-02 13:38:23 +0200
commit128724d147a0079952275e1bbce48a7e2a0522ab (patch)
tree829a04caf0a69161fceaaaf67347f45d5b44fb00 /src/include
parentc6c6bfcf2c6aae86d34c29cee3e73031305a72da (diff)
downloadbox64-128724d147a0079952275e1bbce48a7e2a0522ab.tar.gz
box64-128724d147a0079952275e1bbce48a7e2a0522ab.zip
Implemented a workaround for mmap64 with MAP_32BIT flag
Diffstat (limited to 'src/include')
-rw-r--r--src/include/custommem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h
index c1de067f..551063d1 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -45,6 +45,9 @@ void unprotectDB(uintptr_t addr, uintptr_t size);
 void lockDB();
 void unlockDB();
 #endif
+#ifndef NOALIGN
+void* find32bitBlock(size_t size);
+#endif
 
 
 void init_custommem_helper(box64context_t* ctx);