diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-17 18:15:09 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-17 18:16:55 -0400 |
| commit | 0de8f10b34156132efd2d5ddfd87d42fc2f972bf (patch) | |
| tree | 44c01b70e77f91fb4cfc078e63c637bbde5a8d10 /src/core/core_cpu.cpp | |
| parent | b70a93a10a1671e989e1ce70d3525f5db85b08e1 (diff) | |
core/core_cpu: Replace exclusive monitor include with forward declaration
We don't need to include this as a dependency within the header. A
regular forward declaration will suffice here.
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 |
