aboutsummaryrefslogtreecommitdiff
path: root/src/ARMJIT.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARMJIT.h')
-rw-r--r--src/ARMJIT.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ARMJIT.h b/src/ARMJIT.h
index 381068e..43e087a 100644
--- a/src/ARMJIT.h
+++ b/src/ARMJIT.h
@@ -24,6 +24,10 @@
#include "ARM.h"
#include "ARM_InstrInfo.h"
+#if defined(__APPLE__) && defined(__aarch64__)
+ #include <pthread.h>
+#endif
+
namespace ARMJIT
{
@@ -48,6 +52,8 @@ void ResetBlockCache();
JitBlockEntry LookUpBlock(u32 num, u64* entries, u32 offset, u32 addr);
bool SetupExecutableRegion(u32 num, u32 blockAddr, u64*& entry, u32& start, u32& size);
+void JitEnableWrite();
+void JitEnableExecute();
}
extern "C" void ARM_Dispatch(ARM* cpu, ARMJIT::JitBlockEntry entry);