about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-06-30 16:36:38 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-06-30 16:36:38 +0200
commit2278438462e6f00e10ce9ace248505a8af0808d1 (patch)
tree6c6f380282c110fced76d307d602faa3d25467b4 /src/include
parenta942cef1eed4fba6447303e9f475940a0a4c1ed5 (diff)
downloadbox64-2278438462e6f00e10ce9ace248505a8af0808d1.tar.gz
box64-2278438462e6f00e10ce9ace248505a8af0808d1.zip
[DYNAREC] Refactor hotpage detection and dynarec_dirty 1 & 2. Also adjust some launcher/games flags
Diffstat (limited to 'src/include')
-rw-r--r--src/include/custommem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h
index 96ebfdd0..28503828 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -120,6 +120,7 @@ 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);
+void unneverprotectDB(uintptr_t addr, size_t size);
 int isprotectedDB(uintptr_t addr, size_t size);
 #endif
 void* find32bitBlock(size_t size);
@@ -143,8 +144,7 @@ int isLockAddress(uintptr_t addr);  // return 1 is the address is used as a LOCK
 int nLockAddressRange(uintptr_t start, size_t size);    // gives the number of lock address for a range
 void getLockAddressRange(uintptr_t start, size_t size, uintptr_t addrs[]);   // fill in the array with the lock addresses in the range (array must be of the correct size)
 
-void SetHotPage(uintptr_t addr);
-void CheckHotPage(uintptr_t addr);
+void CheckHotPage(uintptr_t addr, uint32_t prot);
 int isInHotPage(uintptr_t addr);
 int checkInHotPage(uintptr_t addr);
 #endif