diff options
Diffstat (limited to 'src/include/custommem.h')
| -rw-r--r-- | src/include/custommem.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h index 76633e80..dba8b1f8 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -60,4 +60,10 @@ void relockCustommemMutex(int locks); void init_custommem_helper(box64context_t* ctx); void fini_custommem_helper(box64context_t* ctx); +#ifdef DYNAREC +// ---- StrongMemoryModel +void addLockAddress(uintptr_t addr); // add an address to the list of "LOCK"able +int isLockAddress(uintptr_t addr); // return 1 is the address is used as a LOCK, 0 else +#endif + #endif //__CUSTOM_MEM__H_ |