diff options
| author | bunnei <bunneidev@gmail.com> | 2018-09-18 22:13:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-18 22:13:05 -0400 |
| commit | 1614b2fda9a6266e7fe5d72e726d5f3e0779e3e6 (patch) | |
| tree | 5da64e8b1d307b9092e51a82fc7599e847f45c5d /src/core/core_cpu.cpp | |
| parent | c8525745f1ade9fc50915bd652716acaa2316347 (diff) | |
| parent | 0de8f10b34156132efd2d5ddfd87d42fc2f972bf (diff) | |
Merge pull request #1341 from lioncash/dependency
core/core_cpu: Replace exclusive monitor include with forward declaration
Diffstat (limited to 'src/core/core_cpu.cpp')
| -rw-r--r-- | src/core/core_cpu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp index 15d60cc8ac..21568ad50a 100644 --- a/src/core/core_cpu.cpp +++ b/src/core/core_cpu.cpp @@ -9,6 +9,7 @@ #ifdef ARCHITECTURE_x86_64 #include "core/arm/dynarmic/arm_dynarmic.h" #endif +#include "core/arm/exclusive_monitor.h" #include "core/arm/unicorn/arm_unicorn.h" #include "core/core_cpu.h" #include "core/core_timing.h" @@ -66,6 +67,8 @@ Cpu::Cpu(std::shared_ptr<ExclusiveMonitor> exclusive_monitor, scheduler = std::make_shared<Kernel::Scheduler>(arm_interface.get()); } +Cpu::~Cpu() = default; + std::shared_ptr<ExclusiveMonitor> Cpu::MakeExclusiveMonitor(std::size_t num_cores) { if (Settings::values.use_cpu_jit) { #ifdef ARCHITECTURE_x86_64 |
