From d592c1996d74e9e6e728026486cdab6a75f43aaa Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Wed, 9 Apr 2025 01:12:55 +0800 Subject: [WOW64] Add wow64 PE build scaffolding (#2513) --- src/include/custommem.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/include/custommem.h') diff --git a/src/include/custommem.h b/src/include/custommem.h index b17eff99..5e883570 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -138,13 +138,9 @@ int checkInHotPage(uintptr_t addr); #endif // this will simulate an x86_64 version of the function (no tracking will done, but tracking will be used) -void* box_mmap(void *addr, unsigned long length, int prot, int flags, int fd, ssize_t offset); +void* box_mmap(void* addr, size_t length, int prot, int flags, int fd, ssize_t offset); // this will simulate an x86_64 version of the function (no tracking will done) -int box_munmap(void* addr, unsigned long length); -// this will call the syscall directly -void* internal_mmap(void *addr, unsigned long length, int prot, int flags, int fd, ssize_t offset); -// this will call the syscall directly -int internal_munmap(void* addr, unsigned long length); +int box_munmap(void* addr, size_t length); void reserveHighMem(); -- cgit 1.4.1