|
|
|
@ -63,9 +63,9 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int si |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
ARM_Unicorn::ARM_Unicorn(System& system, CPUInterruptHandler& interrupt_handler, |
|
|
|
ARM_Unicorn::ARM_Unicorn(System& system, CPUInterrupts& interrupt_handlers, |
|
|
|
bool uses_wall_clock, Arch architecture, std::size_t core_index) |
|
|
|
: ARM_Interface{system, interrupt_handler, uses_wall_clock}, core_index{core_index} { |
|
|
|
: ARM_Interface{system, interrupt_handlers, uses_wall_clock}, core_index{core_index} { |
|
|
|
const auto arch = architecture == Arch::AArch32 ? UC_ARCH_ARM : UC_ARCH_ARM64; |
|
|
|
CHECKED(uc_open(arch, UC_MODE_ARM, &uc)); |
|
|
|
|
|
|
|
|