about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-11-30 14:02:28 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-11-30 14:02:28 +0100
commit51aa4b0416fbd9e960b5699dde5f573d89b54ae4 (patch)
treeceabba3bcf4e3a9ffe080fa8063563bd30016cf9 /src/include
parentb0db168fb57dd63e101c99b8c728aff9039a23bc (diff)
downloadbox64-51aa4b0416fbd9e960b5699dde5f573d89b54ae4.tar.gz
box64-51aa4b0416fbd9e960b5699dde5f573d89b54ae4.zip
Added a new memExist helper function and use it instead of getMmapped were it make sense
Diffstat (limited to 'src/include')
-rw-r--r--src/include/custommem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h
index d892079e..13874592 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -102,6 +102,7 @@ void refreshProtection(uintptr_t addr);
 uint32_t getProtection(uintptr_t addr);
 uint32_t getProtection_fast(uintptr_t addr);
 int getMmapped(uintptr_t addr);
+int memExist(uintptr_t addr);
 void loadProtectionFromMap(void);
 #ifdef DYNAREC
 void protectDB(uintptr_t addr, size_t size);