about summary refs log tree commit diff stats
path: root/src/dynarec/native_lock.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-12-03 11:24:01 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-12-03 11:24:01 +0100
commit3f1c37aa76ff13d90e60eb66c4516f8feebaf3f5 (patch)
tree3296bb38797457339220b3a20c0d29f5ad68cc8b /src/dynarec/native_lock.h
parent8165342670e0e28832f97522d2aa9f47612767c2 (diff)
downloadbox64-3f1c37aa76ff13d90e60eb66c4516f8feebaf3f5.tar.gz
box64-3f1c37aa76ff13d90e60eb66c4516f8feebaf3f5.zip
[DYNAREC] Reworked dynarec memory allocator, and a bit of protection tracking too (might help #455)
Diffstat (limited to 'src/dynarec/native_lock.h')
-rwxr-xr-xsrc/dynarec/native_lock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dynarec/native_lock.h b/src/dynarec/native_lock.h
index 8be8fe67..09917f37 100755
--- a/src/dynarec/native_lock.h
+++ b/src/dynarec/native_lock.h
@@ -20,6 +20,9 @@
 #define native_lock_storeifnull(A, B)       arm64_lock_storeifnull(A, B)

 #define native_lock_decifnot0b(A)           arm64_lock_decifnot0b(A)

 #define native_lock_storeb(A, B)            arm64_lock_storeb(A, B)

+#define native_lock_incif0(A)               arm64_lock_incif0(A)

+#define native_lock_decifnot0(A)            arm64_lock_decifnot0(A)

+#define native_lock_store(A, B)             arm64_lock_store(A, B)

 

 #else

 #error Unsupported architecture