From bc852aebeb9852801329f9576b4d5e3fa7df2efa Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 23 Jan 2024 15:56:11 +0100 Subject: Added a new option BOX64_MMAP32 to use 32bits mapping on external MMAP (help Snapdragon device running Vulkan with Wine/Wow64, active by default on SD845/SD888/SD8G2 profiles) --- src/include/custommem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/custommem.h') 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_ -- cgit 1.4.1