about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-11-18 14:21:16 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-11-18 14:21:16 +0100
commite7290d78d5047662c49a8558d1709ed912346ff7 (patch)
tree10ecdc9b7b9a994087980cf5e65cfefdb48602db /src/include
parent4f0e98ade5d37b8647cb5d39b6e5a3aded55fa2f (diff)
downloadbox64-e7290d78d5047662c49a8558d1709ed912346ff7.tar.gz
box64-e7290d78d5047662c49a8558d1709ed912346ff7.zip
[DYNAREC] Improved JIT handling, and added a HotPage detection to temporarily disable Dynarec when write occurs on the same page of some Dynablocks (help speedup some C#/Unity3D programs)
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/dynablock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/dynablock.h b/src/include/dynablock.h
index b83262cc..a2119643 100755
--- a/src/include/dynablock.h
+++ b/src/include/dynablock.h
@@ -31,5 +31,7 @@ dynablock_t *AddNewDynablock(dynablocklist_t* dynablocks, uintptr_t addr, int* c
 
 // for use in signal handler
 void cancelFillBlock();
+int IsInHotPage(uintptr_t addr);
+void AddHotPage(uintptr_t addr);
 
 #endif //__DYNABLOCK_H_
\ No newline at end of file