Permalink
Browse files

arm_dynarmic: Provide MemoryReadCode callback

Change of interface in dynarmic 36082087ded632079b16d24137fdd0c450ce82ea
  • Loading branch information...
1 parent 17d7402 commit f8cf87ce349d3e51d661cf49f00f1325e34bfefc @MerryMage MerryMage committed Dec 22, 2016
Showing with 2 additions and 1 deletion.
  1. +1 −1 externals/dynarmic
  2. +1 −0 src/core/arm/dynarmic/arm_dynarmic.cpp
Submodule dynarmic updated 38 files
+29 −0 .appveyor.yml
+34 −29 CMakeLists.txt
+3 −1 README.md
+15 −0 include/dynarmic/callbacks.h
+3 −0 src/CMakeLists.txt
+2 −2 src/backend_x64/block_of_code.cpp
+5 −1 src/backend_x64/block_of_code.h
+522 −110 src/backend_x64/emit_x64.cpp
+14 −6 src/backend_x64/emit_x64.h
+1 −1 src/backend_x64/interface_x64.cpp
+9 −0 src/backend_x64/jitstate.h
+3 −3 src/backend_x64/unwind_windows.cpp
+14 −1 src/common/bit_util.h
+2 −0 src/common/common_types.h
+7 −7 src/frontend/arm/types.h
+13 −5 src/frontend/disassembler/disassembler_arm.cpp
+76 −3 src/frontend/ir/ir_emitter.cpp
+21 −1 src/frontend/ir/ir_emitter.h
+18 −1 src/frontend/ir/opcodes.inc
+4 −4 src/frontend/translate/translate.cpp
+3 −3 src/frontend/translate/translate.h
+2 −2 src/frontend/translate/translate_arm.cpp
+1 −0 src/frontend/translate/translate_arm/exception_generating.cpp
+3 −0 src/frontend/translate/translate_arm/extension.cpp
+2 −2 src/frontend/translate/translate_arm/load_store.cpp
+83 −8 src/frontend/translate/translate_arm/parallel.cpp
+126 −0 src/frontend/translate/translate_arm/saturated.cpp
+10 −10 src/frontend/translate/translate_arm/translate_arm.h
+5 −5 src/frontend/translate/translate_thumb.cpp
+2 −2 tests/CMakeLists.txt
+170 −19 tests/arm/fuzz_arm.cpp
+9 −1 tests/arm/fuzz_thumb.cpp
+6 −1 tests/arm/test_thumb_instructions.cpp
+5 −1 tests/skyeye_interpreter/dyncom/arm_dyncom_interpreter.cpp
+4 −0 tests/skyeye_interpreter/skyeye_common/armstate.cpp
+4 −0 tests/skyeye_interpreter/skyeye_common/vfp/vfp.cpp
+4 −0 tests/skyeye_interpreter/skyeye_common/vfp/vfpdouble.cpp
+4 −0 tests/skyeye_interpreter/skyeye_common/vfp/vfpsingle.cpp
@@ -45,6 +45,7 @@ static Dynarmic::UserCallbacks GetUserCallbacks(ARMul_State* interpeter_state) {
user_callbacks.user_arg = static_cast<void*>(interpeter_state);
user_callbacks.CallSVC = &SVC::CallSVC;
user_callbacks.IsReadOnlyMemory = &IsReadOnlyMemory;
+ user_callbacks.MemoryReadCode = &Memory::Read32;
user_callbacks.MemoryRead8 = &Memory::Read8;
user_callbacks.MemoryRead16 = &Memory::Read16;
user_callbacks.MemoryRead32 = &Memory::Read32;

0 comments on commit f8cf87c

Please sign in to comment.