about summary refs log tree commit diff stats
path: root/src/include/custommem.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-03-12 14:39:07 +0100
committerptitSeb <sebastien.chev@gmail.com>2025-03-12 14:39:07 +0100
commit1af85c69a182fa6539c5690a3feebe9002fd9552 (patch)
treef268bc9ca93813c953510c803293f07f71c42c04 /src/include/custommem.h
parent3087ea0e6136fd1ed0c756e6ea316ce61678fb3a (diff)
downloadbox64-1af85c69a182fa6539c5690a3feebe9002fd9552.tar.gz
box64-1af85c69a182fa6539c5690a3feebe9002fd9552.zip
[DYNAREC] Introduced DYNAREC_DIRTY=2 and changed a profile to use it
Diffstat (limited to 'src/include/custommem.h')
-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 7acbda18..b17eff99 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -107,6 +107,7 @@ void loadProtectionFromMap(void);
 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
+void neverprotectDB(uintptr_t addr, size_t size, int mark);
 int isprotectedDB(uintptr_t addr, size_t size);
 #endif
 void* find32bitBlock(size_t size);