about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-11-14 21:06:33 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-11-14 21:06:33 +0100
commitee509f6350a25e42aca3c705bd35ec8ac4e962dd (patch)
treebd637d638c5465cdcc01b88a37f033312acf4d40 /src/include
parent6a7c6cba1235729767b16405780c2362ac835278 (diff)
downloadbox64-ee509f6350a25e42aca3c705bd35ec8ac4e962dd.tar.gz
box64-ee509f6350a25e42aca3c705bd35ec8ac4e962dd.zip
Small fixes and improvement to memory protection handling
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 0a8642f4..a33e1377 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -43,6 +43,7 @@ uintptr_t getJumpAddress64(uintptr_t addr);
 void updateProtection(uintptr_t addr, size_t size, uint32_t prot);
 void setProtection(uintptr_t addr, size_t size, uint32_t prot);
 void freeProtection(uintptr_t addr, size_t size);
+void refreshProtection(uintptr_t addr);
 uint32_t getProtection(uintptr_t addr);
 void loadProtectionFromMap();
 #ifdef DYNAREC