about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-01-29 09:57:02 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-01-29 09:57:02 +0100
commit8ee250e9acd463b74e57c677630f8cb3c3c3e78b (patch)
treebe3920e2f8b20b15361fdc7e0afd0ecbba68d7d0 /src/include
parente485fe1d1855bef0e3e6e25b4ac48a7f8a7c7776 (diff)
downloadbox64-8ee250e9acd463b74e57c677630f8cb3c3c3e78b.tar.gz
box64-8ee250e9acd463b74e57c677630f8cb3c3c3e78b.zip
[DYNAREC] Small improvment in dynablock/protectDB 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 d6867a4f..aa0e7f4d 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -88,6 +88,7 @@ int getMmapped(uintptr_t addr);
 void loadProtectionFromMap(void);
 #ifdef DYNAREC
 void protectDB(uintptr_t addr, size_t size);
+void protectDBJumpTable(uintptr_t addr, size_t size, void* jump, void* ref);
 void unprotectDB(uintptr_t addr, size_t size, int mark);    // if mark==0, the blocks are not marked as potentially dirty
 int isprotectedDB(uintptr_t addr, size_t size);
 #endif