about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/custommem.h3
-rw-r--r--src/include/debug.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h
index df1d652a..d6867a4f 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -112,4 +112,7 @@ void addLockAddress(uintptr_t addr);    // add an address to the list of "LOCK"a
 int isLockAddress(uintptr_t addr);  // return 1 is the address is used as a LOCK, 0 else
 #endif
 
+void* internal_mmap(void *addr, unsigned long length, int prot, int flags, int fd, ssize_t offset);
+int internal_munmap(void* addr, unsigned long length);
+
 #endif //__CUSTOM_MEM__H_
diff --git a/src/include/debug.h b/src/include/debug.h
index 4ab2e80a..177404da 100644
--- a/src/include/debug.h
+++ b/src/include/debug.h
@@ -11,6 +11,7 @@ extern uintptr_t box64_pagesize;
 extern uintptr_t box64_load_addr;
 extern int box64_dynarec_test;
 extern int box64_maxcpu;
+extern int box64_mmap32;
 #ifdef DYNAREC
 extern int box64_dynarec_dump;
 extern int box64_dynarec_trace;